IClusterNodeUpdater.ScanAsync Method (IScanCallback)
Starts a task that scans a node for any first-order updates.
Namespace: Microsoft.ClusterAwareUpdating
Assembly: ClusterAwareUpdating (in ClusterAwareUpdating.dll)
Syntax
Task ScanAsync(
IScanCallback scanCallback
)
Task^ ScanAsync(
IScanCallback^ scanCallback
)
abstract ScanAsync :
scanCallback:IScanCallback -> Task
Function ScanAsync (
scanCallback As IScanCallback
) As Task
Parameters
scanCallback
Type: Microsoft.ClusterAwareUpdating.IScanCallbackAn interface that allows the plug-in to report the progress of the scan operation and any first-order updates that were found by the scan operation. The callback methods are thread safe and can be called from any thread.
Return Value
Type: System.Threading.Tasks.Task
Returns a Task containing a task object that can be used to track the scan operation. The task should already be running.
Remarks
The scan operation should be executed on the node specified in the call to CreateUpdater. Similarly, the System.Threading.CancellationToken passed to CreateUpdater is used to signal cancellation.
The target node will not be in Node Maintenance mode the first time this method is called, but will be for subsequent calls.
The returned task does not need to determine whether second-order updates are needed, which are updates that apply only after the first-order updates have been installed.
See Also
IClusterNodeUpdater Interface
Microsoft.ClusterAwareUpdating Namespace
Return to top