JobOperationsExtensions.WaitForJobCompletionAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static System.Threading.Tasks.Task<Microsoft.Azure.HDInsight.Job.Models.JobDetailRootJsonObject> WaitForJobCompletionAsync (this Microsoft.Azure.HDInsight.Job.IJobOperations operations, string jobId, TimeSpan? duration = default, TimeSpan? waitInterval = default);
static member WaitForJobCompletionAsync : Microsoft.Azure.HDInsight.Job.IJobOperations * string * Nullable<TimeSpan> * Nullable<TimeSpan> -> System.Threading.Tasks.Task<Microsoft.Azure.HDInsight.Job.Models.JobDetailRootJsonObject>
<Extension()>
Public Function WaitForJobCompletionAsync (operations As IJobOperations, jobId As String, Optional duration As Nullable(Of TimeSpan) = Nothing, Optional waitInterval As Nullable(Of TimeSpan) = Nothing) As Task(Of JobDetailRootJsonObject)
Parameters
- operations
- IJobOperations
- jobId
- String