IDriverExecutionManagerWaitForStatus Method |
[This is preliminary documentation and is subject to change.]
Wait for a running execution to obtain a specific status
Namespace: Netadmin.Management.DriversAssembly: Netadmin.Management.Interfaces (in Netadmin.Management.Interfaces.dll) Version: release/9.0@131b654fe7332b0776120c2b44d96c6cac5ac9a2
SyntaxDriverExecutionStatus WaitForStatus(
long threadId,
int maxWaitTime
)
Function WaitForStatus (
threadId As Long,
maxWaitTime As Integer
) As DriverExecutionStatus
Parameters
- threadId
- Type: SystemInt64
Identifier of the executing thread - maxWaitTime
- Type: SystemInt32
Maximum wait time in milliseconds
Return Value
Type:
DriverExecutionStatusEnum value of the execution status
RemarksA minimum of 100ms waittime will be applied unless desired status is already achieved
RemarksIf the execution has reached it final state
Finished the method will return this status without waiting, regardless of desired status
See Also