Share via


TextAuthoringProject.GetProjectAsync Method

Definition

Overloads

GetProjectAsync(RequestContext)

[Protocol Method] Gets the details of a project.

GetProjectAsync(CancellationToken)

Gets the details of a project.

GetProjectAsync(RequestContext)

Source:
TextAuthoringProject.cs

[Protocol Method] Gets the details of a project.

public virtual System.Threading.Tasks.Task<Azure.Response> GetProjectAsync(Azure.RequestContext context);
abstract member GetProjectAsync : Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
override this.GetProjectAsync : Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function GetProjectAsync (context As RequestContext) As Task(Of Response)

Parameters

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

GetProjectAsync(CancellationToken)

Source:
TextAuthoringProject.cs

Gets the details of a project.

public virtual System.Threading.Tasks.Task<Azure.Response<Azure.AI.Language.Text.Authoring.TextAuthoringProjectMetadata>> GetProjectAsync(System.Threading.CancellationToken cancellationToken = default);
abstract member GetProjectAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.AI.Language.Text.Authoring.TextAuthoringProjectMetadata>>
override this.GetProjectAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.AI.Language.Text.Authoring.TextAuthoringProjectMetadata>>
Public Overridable Function GetProjectAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of TextAuthoringProjectMetadata))

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to