'Declaration
Public Function New( _ ByVal serverDescriptor As ServerDescriptor, _ ByVal sourceDescriptor As AENodeDescriptor, _ ByVal notificationRate As Integer, _ ByVal state As Object _ )
'Usage
Dim serverDescriptor As ServerDescriptor Dim sourceDescriptor As AENodeDescriptor Dim notificationRate As Integer Dim state As Object Dim instance As New AEEventsSubscriptionArguments(serverDescriptor, sourceDescriptor, notificationRate, state)
public AEEventsSubscriptionArguments( ServerDescriptor serverDescriptor, AENodeDescriptor sourceDescriptor, int notificationRate, object state )
public: AEEventsSubscriptionArguments( ServerDescriptor^ serverDescriptor, AENodeDescriptor^ sourceDescriptor, int notificationRate, Object^ state )
Parameters
- serverDescriptor
- The OPC server involved in the operation.
- sourceDescriptor
- Event source of interest.
- notificationRate
- The requested notification rate. The notification rate is in milliseconds and tells the server how often to send event notifications. This is a minimum time - do not send event notifications any faster that this UNLESS the buffer size is reached. A value of 0 for notification rate means that the server should send event notifications as soon as it gets them. This parameter is used to improve communications efficiency between client and server. This parameter is a recommendation from the client, and the server is allowed to ignore the parameter.
- state
- The state object (can be any value supplied by your code); available in event notifications.