Share via


TextAuthoringProject.GetCopyProjectStatus Method

Definition

Overloads

GetCopyProjectStatus(String, RequestContext)

[Protocol Method] Gets the status of an existing copy project job.

GetCopyProjectStatus(String, CancellationToken)

Gets the status of an existing copy project job.

GetCopyProjectStatus(String, RequestContext)

Source:
TextAuthoringProject.cs

[Protocol Method] Gets the status of an existing copy project job.

public virtual Azure.Response GetCopyProjectStatus(string jobId, Azure.RequestContext context);
abstract member GetCopyProjectStatus : string * Azure.RequestContext -> Azure.Response
override this.GetCopyProjectStatus : string * Azure.RequestContext -> Azure.Response
Public Overridable Function GetCopyProjectStatus (jobId As String, context As RequestContext) As Response

Parameters

jobId
String

The job ID.

context
RequestContext

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

Returns

The response returned from the service.

Exceptions

Service returned a non-success status code.

Applies to

GetCopyProjectStatus(String, CancellationToken)

Source:
TextAuthoringProject.cs

Gets the status of an existing copy project job.

public virtual Azure.Response<Azure.AI.Language.Text.Authoring.TextAuthoringCopyProjectState> GetCopyProjectStatus(string jobId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetCopyProjectStatus : string * System.Threading.CancellationToken -> Azure.Response<Azure.AI.Language.Text.Authoring.TextAuthoringCopyProjectState>
override this.GetCopyProjectStatus : string * System.Threading.CancellationToken -> Azure.Response<Azure.AI.Language.Text.Authoring.TextAuthoringCopyProjectState>
Public Overridable Function GetCopyProjectStatus (jobId As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of TextAuthoringCopyProjectState)

Parameters

jobId
String

The job ID.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

jobId is null.

jobId is an empty string, and was expected to be non-empty.

Applies to