Click or drag to resize
IDriverExecutionManagerWaitForStatus Method

[This is preliminary documentation and is subject to change.]

Wait for a running execution to obtain a specific status

Namespace: Netadmin.Management.Drivers
Assembly: Netadmin.Management.Interfaces (in Netadmin.Management.Interfaces.dll) Version: release/9.0@131b654fe7332b0776120c2b44d96c6cac5ac9a2
Syntax
DriverExecutionStatus WaitForStatus(
	long threadId,
	int maxWaitTime
)

Parameters

threadId
Type: SystemInt64
Identifier of the executing thread
maxWaitTime
Type: SystemInt32
Maximum wait time in milliseconds

Return Value

Type: DriverExecutionStatus
Enum value of the execution status
Remarks
A minimum of 100ms waittime will be applied unless desired status is already achieved
Remarks
If the execution has reached it final state Finished the method will return this status without waiting, regardless of desired status
See Also