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

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

Syntax

C#
public bool IsWatching(
	string userId
)
Visual Basic
Public Function IsWatching ( _
	userId As String _
) As Boolean

Parameters

userId
Type: System..::..String
The user.

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.

See Also