DiscoveryToolsClient.GetRunStatusAsync Method

Definition

Overloads

Name Description
GetRunStatusAsync(String, String, Nullable<Int32>, RequestContext)

[Protocol Method] Used for to poll status of a Tool run.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
GetRunStatusAsync(String, String, Nullable<Int32>, CancellationToken)

Used for to poll status of a Tool run.

GetRunStatusAsync(String, String, Nullable<Int32>, RequestContext)

Source:
DiscoveryToolsClient.cs

[Protocol Method] Used for to poll status of a Tool run.

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
public virtual System.Threading.Tasks.Task<Azure.Response> GetRunStatusAsync(string projectName, string operationId, int? logCount, Azure.RequestContext context);
abstract member GetRunStatusAsync : string * string * Nullable<int> * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
override this.GetRunStatusAsync : string * string * Nullable<int> * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function GetRunStatusAsync (projectName As String, operationId As String, logCount As Nullable(Of Integer), context As RequestContext) As Task(Of Response)

Parameters

projectName
String

Name of the associated Project.

operationId
String

The unique ID of the operation.

logCount
Nullable<Int32>

Number of log lines to return (0-2500).

context
RequestContext

The request options, which can override default behaviors of the client pipeline on a per-call basis.

Returns

The response returned from the service.

Exceptions

projectName or operationId is null.

projectName or operationId is an empty string, and was expected to be non-empty.

Service returned a non-success status code.

Applies to

GetRunStatusAsync(String, String, Nullable<Int32>, CancellationToken)

Source:
DiscoveryToolsClient.cs

Used for to poll status of a Tool run.

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.AI.Discovery.RunOperationStatus>> GetRunStatusAsync(string projectName, string operationId, int? logCount = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetRunStatusAsync : string * string * Nullable<int> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.AI.Discovery.RunOperationStatus>>
override this.GetRunStatusAsync : string * string * Nullable<int> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.AI.Discovery.RunOperationStatus>>
Public Overridable Function GetRunStatusAsync (projectName As String, operationId As String, Optional logCount As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of RunOperationStatus))

Parameters

projectName
String

Name of the associated Project.

operationId
String

The unique ID of the operation.

logCount
Nullable<Int32>

Number of log lines to return (0-2500).

cancellationToken
CancellationToken

The cancellation token that can be used to cancel the operation.

Returns

Exceptions

projectName or operationId is null.

projectName or operationId is an empty string, and was expected to be non-empty.

Service returned a non-success status code.

Applies to