Determines whether a watch is active and if the specified values are being watched.

Namespace: ININ.IceLib.Connection.Extensions
Assembly: ININ.IceLib (in ININ.IceLib.dll) Version: 0.0.0.0 (22.3.0.218)

Collapse imageSyntax

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).

Collapse imageRemarks

This method determines whether a watch is in place for this instance and whether the specified value is being watched.

Collapse imageExceptions

ExceptionCondition
System..::..ArgumentNullExceptionA parameter is nullNothingnullptra null reference (Nothing in Visual Basic).

Collapse imageVersion Information

Supported for IC Server version 2015 R1 and beyond.
For 4.0, supported for IC Server version 4.0 SU 5 and beyond.

Collapse imageSee Also