Attempts to pull multiple OPC events subscribed to by the
OpcLabs.EasyOpc.AlarmsAndEvents.IEasyAEClient.SubscribeEvents method. Returns refresh or standard event notifications.
[JetBrains.Annotations.CanBeNull()]
[EditorBrowsable(EditorBrowsableState.Advanced)]
[JetBrains.Annotations.ItemNotNull()]
object[] PullMultipleNotifications(
int ,
int
)
'Declaration
<JetBrains.Annotations.CanBeNullAttribute()>
<EditorBrowsableAttribute(EditorBrowsableState.Advanced)>
<JetBrains.Annotations.ItemNotNullAttribute()>
Function PullMultipleNotifications( _
ByVal As Integer, _
ByVal As Integer _
) As Object()
'Usage
Dim instance As _EasyAEClient
Dim maximumCount As Integer
Dim millisecondsTimeout As Integer
Dim value() As Object
value = instance.PullMultipleNotifications(maximumCount, millisecondsTimeout)
Parameters
- maximumCount
- Maximum number of event notifications returned.
- millisecondsTimeout
- The number of milliseconds to wait, or System.Threading.Timeout.Infinite (-1) to wait indefinitely.
Return Value
An array of event arguments, or
null
if no event is available within the specified time.
This method can return null
(Nothing
in Visual Basic).
The individual elements of the returned value are never null
(Nothing
in Visual Basic).
This return value of this method should not be ignored.
Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows
See Also