TextAuthoringProject.GetProjectAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
- This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
- Please try the simpler GetProjectAsync(CancellationToken) convenience overload with strongly typed models first.
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.