Share via


JobOperationsExtensions.GetHistoryWithFilterAsync Method

Get the execution history of a Job with a filter on the job Status.

Namespace: Microsoft.WindowsAzure.Scheduler
Assembly: Microsoft.WindowsAzure.Management.Scheduler (in Microsoft.WindowsAzure.Management.Scheduler.dll)

Usage

'Usage
Dim operations As IJobOperations
Dim jobId As String
Dim parameters As JobGetHistoryWithFilterParameters
Dim returnValue As Task(Of JobGetHistoryResponse)

returnValue = JobOperationsExtensions.GetHistoryWithFilterAsync(operations, jobId, parameters)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function GetHistoryWithFilterAsync ( _
    operations As IJobOperations, _
    jobId As String, _
    parameters As JobGetHistoryWithFilterParameters _
) As Task(Of JobGetHistoryResponse)
[ExtensionAttribute] 
public static Task<JobGetHistoryResponse> GetHistoryWithFilterAsync (
    IJobOperations operations,
    string jobId,
    JobGetHistoryWithFilterParameters parameters
)
[ExtensionAttribute] 
public:
static Task<JobGetHistoryResponse^>^ GetHistoryWithFilterAsync (
    IJobOperations^ operations, 
    String^ jobId, 
    JobGetHistoryWithFilterParameters^ parameters
)
/** @attribute ExtensionAttribute() */ 
public static Task<JobGetHistoryResponse> GetHistoryWithFilterAsync (
    IJobOperations operations, 
    String jobId, 
    JobGetHistoryWithFilterParameters parameters
)
ExtensionAttribute 
public static function GetHistoryWithFilterAsync (
    operations : IJobOperations, 
    jobId : String, 
    parameters : JobGetHistoryWithFilterParameters
) : Task<JobGetHistoryResponse>

Parameters

  • operations
    Reference to the Microsoft.WindowsAzure.Scheduler.IJobOperations.
  • jobId
    Required. Id of the job to get the history of.
  • parameters
    Required. Parameters supplied to the Get Job History With Filter operation.

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

JobOperationsExtensions Class
JobOperationsExtensions Members
Microsoft.WindowsAzure.Scheduler Namespace