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(
	SessionWatchId watchId
)
Visual Basic
Public Function IsWatching ( _
	watchId As SessionWatchId _
) As Boolean

Parameters

watchId
Type: ININ.IceLib.Connection.Extensions..::..SessionWatchId
The scoped identifier.

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 GA and beyond.
For 3.0, supported for IC Server version 3.0 GA and beyond.
For 2.4, supported for IC Server version 2.4 SU 27 and beyond.

See Also