 | JetClientWaitForJobCompletion Method (Guid, Int32) |
Waits until the specified job is complete, printing progress updates to the console.
Namespace:
Ookii.Jumbo.Jet
Assembly:
Ookii.Jumbo.Jet (in Ookii.Jumbo.Jet.dll) Version: 2.0.0
Syntaxpublic bool WaitForJobCompletion(
Guid jobId,
int pollIntervalMilliseconds = 1000
)
Public Function WaitForJobCompletion (
jobId As Guid,
Optional pollIntervalMilliseconds As Integer = 1000
) As Boolean
public:
bool WaitForJobCompletion(
Guid jobId,
int pollIntervalMilliseconds = 1000
)
member WaitForJobCompletion :
jobId : Guid *
?pollIntervalMilliseconds : int
(* Defaults:
let _pollIntervalMilliseconds = defaultArg pollIntervalMilliseconds 1000
*)
-> bool
Parameters
- jobId
- Type: SystemGuid
The job ID. - pollIntervalMilliseconds (Optional)
- Type: SystemInt32
The poll interval in milliseconds.
Return Value
Type:
Boolean if the job completed successfully; otherwise,
.
See Also