Determines whether a watch is active and if the specified values are being watched.
Namespace: ININ.IceLib.Connection.ExtensionsAssembly: ININ.IceLib (in ININ.IceLib.dll) Version: 0.0.0.0 (22.3.0.218)
Syntax
C# |
---|
public bool IsWatching( List<CustomMessageHeader> messageTypes ) |
Visual Basic |
---|
Public Function IsWatching ( _ messageTypes As List(Of CustomMessageHeader) _ ) As Boolean |
Parameters
- messageTypes
- Type: System.Collections.Generic..::..List<(Of <(<'CustomMessageHeader>)>)>
The message types to check.
Return Value
trueTruetruetrue (True in Visual Basic) if a watch is active and the specified value is being watched; otherwise, falseFalsefalsefalse (False in Visual Basic).Remarks
This method determines whether a watch is in place for this instance and whether the specified value is being watched.
Exceptions
Exception | Condition |
---|---|
System..::..ArgumentNullException | A parameter is nullNothingnullptra null reference (Nothing in Visual Basic). |
Version Information
Supported for IC Server version 2015 R1 and beyond.
For 4.0, supported for IC Server version 4.0 SU 5 and beyond.
For 4.0, supported for IC Server version 4.0 SU 5 and beyond.