Starts watching the specified properties of the configuration object.
Namespace: ININ.IceLib.ConfigurationAssembly: ININ.IceLib.Configuration (in ININ.IceLib.Configuration.dll) Version: 0.0.0.0 (22.3.0.218)
Syntax
C# |
---|
public void StartWatching( IEnumerable<TPropertyEnum> propertiesInQuery ) |
Visual Basic |
---|
Public Sub StartWatching ( _ propertiesInQuery As IEnumerable(Of TPropertyEnum) _ ) |
Parameters
- propertiesInQuery
- Type: System.Collections.Generic..::..IEnumerable<(Of <(<'TPropertyEnum>)>)>
The properties to be selected in the query.
Remarks
Note |
---|
All event handlers should be added before calling StartWatching(IEnumerable<(Of <<'(TPropertyEnum>)>>)), StartWatching(ContainerQuerySettings<(Of <<'(TConfigurationObject, TPropertyEnum>)>>)), StartWatchingAsync(IEnumerable<(Of <<'(TPropertyEnum>)>>), AsyncCompletedEventHandler, Object) or StartWatchingAsync(ContainerQuerySettings<(Of <<'(TConfigurationObject, TPropertyEnum>)>>), AsyncCompletedEventHandler, Object). |
Note |
---|
For more information on watches see How Watches Work. |
Exceptions
Exception | Condition |
---|---|
System..::..ArgumentNullException | A parameter is nullNothingnullptra null reference (Nothing in Visual Basic). |
System..::..InvalidOperationException | The ConfigurationContainer<(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.
For 4.0, supported for IC Server version 4.0 GA and beyond.