IJobOperations.GetHistoryAsync Method
Get the execution history of a Job.
Namespace: Microsoft.WindowsAzure.Scheduler
Assembly: Microsoft.WindowsAzure.Management.Scheduler (in Microsoft.WindowsAzure.Management.Scheduler.dll)
Usage
'Usage
Dim instance As IJobOperations
Dim jobId As String
Dim parameters As JobGetHistoryParameters
Dim cancellationToken As CancellationToken
Dim returnValue As Task(Of JobGetHistoryResponse)
returnValue = instance.GetHistoryAsync(jobId, parameters, cancellationToken)
Syntax
'Declaration
Function GetHistoryAsync ( _
jobId As String, _
parameters As JobGetHistoryParameters, _
cancellationToken As CancellationToken _
) As Task(Of JobGetHistoryResponse)
Task<JobGetHistoryResponse> GetHistoryAsync (
string jobId,
JobGetHistoryParameters parameters,
CancellationToken cancellationToken
)
Task<JobGetHistoryResponse^>^ GetHistoryAsync (
String^ jobId,
JobGetHistoryParameters^ parameters,
CancellationToken cancellationToken
)
Task<JobGetHistoryResponse> GetHistoryAsync (
String jobId,
JobGetHistoryParameters parameters,
CancellationToken cancellationToken
)
function GetHistoryAsync (
jobId : String,
parameters : JobGetHistoryParameters,
cancellationToken : CancellationToken
) : Task<JobGetHistoryResponse>
Parameters
- jobId
Id of the job to get the history of.
- parameters
Parameters supplied to the Get Job History operation.
- cancellationToken
Cancellation token.
Return Value
The Get Job History operation response.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012
Target Platforms
See Also
Reference
IJobOperations Interface
IJobOperations Members
Microsoft.WindowsAzure.Scheduler Namespace