DON'T USE IT DIRECTLY. Use the instance cbOnEvent.
clientSubscription: the client handle for the subscription object sending the event notifications.
refresh: TRUE if this is a subscription refresh.
lastRefresh: TRUE if this is the last subscription refresh in response to a specific
invocation of the EventSubscriptionMgt.Refresh method.
count : Number of event notifications. A value of zero indicates this is a keep-alive
notification (see EventSubscriptionMgt2.SetKeepAlive() ).
events : Array of event notifications.
Visual Basic (Declaration) | |
---|---|
Public Delegate Function OnEvent( _ ByVal clientSubscription As Integer, _ ByVal refresh As Boolean, _ ByVal lastRefresh As Boolean, _ ByVal count As Integer, _ ByVal events() As EventData _ ) As Integer |
C# | |
---|---|
public delegate int OnEvent( int clientSubscription, bool refresh, bool lastRefresh, int count, EventData[] events ) |
Parameters
- clientSubscription
- refresh
- lastRefresh
- count
- events
Requirements
Namespace: NSPlugin
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
Assembly: NSPlugin (in D:\PRODUCTS\OPCDA.NET\Server\Customization\AECombo\bin\DocX\AE\NSPlugin.dll)