Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AF SDK Reference

AFEventFrameSearch.Subscribe Method (IObserver(AFSearchUpdateEvent(AFEventFrame)))

AFEventFrameSearch.Subscribe Method (IObserver(AFSearchUpdateEvent(AFEventFrame)))

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFEventFrameSearch.Subscribe Method (IObserver(AFSearchUpdateEvent(AFEventFrame)))
Subscribes an observer to matches for this event frame search.

Namespace:  OSIsoft.AF.Search
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182

Syntax

public IDisposable Subscribe(
	IObserver<AFSearchUpdateEvent<AFEventFrame>> observer
)
Public Function Subscribe ( 
	observer As IObserver(Of AFSearchUpdateEvent(Of AFEventFrame))
) As IDisposable

Dim instance As AFEventFrameSearch
Dim observer As IObserver(Of AFSearchUpdateEvent(Of AFEventFrame))
Dim returnValue As IDisposable

returnValue = instance.Subscribe(observer)
public:
IDisposable^ Subscribe(
	IObserver<AFSearchUpdateEvent<AFEventFrame^>^>^ observer
)
member Subscribe : 
        observer : IObserver<AFSearchUpdateEvent<AFEventFrame>> -> IDisposable 

Parameters

observer
Type: SystemIObserverAFSearchUpdateEventAFEventFrame
The observer to notify on changes.

Return Value

Type: IDisposable
An IDisposable instance to call to unsubscribe.

Version Information

AFSDK

Supported in: 3.1.1, 3.1.0, 3.0.2, 3.0.1, 3.0.0, 2.10.0, 2.10

See Also

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in