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

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

Syntax

C#
public bool IsWatching(
	CustomMessageHeader messageType
)
Visual Basic
Public Function IsWatching ( _
	messageType As CustomMessageHeader _
) As Boolean

Parameters

messageType
Type: ININ.IceLib.Connection.Extensions..::..CustomMessageHeader
The message type 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

ExceptionCondition
System..::..ArgumentNullExceptionA 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.

See Also