Starts watching the specified configuration objects.

Namespace: ININ.IceLib.Configuration
Assembly: ININ.IceLib.Configuration (in ININ.IceLib.Configuration.dll) Version: 0.0.0.0 (21.4.0.172)

Syntax

C#
public void StartWatching(
	QuerySettings<TConfigurationObject, TPropertyEnum> querySettings
)
Visual Basic
Public Sub StartWatching ( _
	querySettings As QuerySettings(Of TConfigurationObject, TPropertyEnum) _
)

Parameters

querySettings
Type: ININ.IceLib.Configuration..::..QuerySettings<(Of <(<'TConfigurationObject, TPropertyEnum>)>)>
The query settings. Call CreateQuerySettings()()()() to construct a query settings object."

Remarks

Note
All event handlers should be added before calling StartWatching()()()() or StartWatchingAsync(AsyncCompletedEventHandler, Object).
Note
For more information on watches see How Watches Work.

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptionA parameter is nullNothingnullptra null reference (Nothing in Visual Basic).
System..::..InvalidOperationException The DynamicConfigurationList<(Of <(<'TConfigurationObject, TPropertyEnum>)>)> is already watched or cached.

Version Information

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

See Also