你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

TextAuthoringProject.ExportAsync Method

Definition

Overloads

Name Description
ExportAsync(WaitUntil, StringIndexType, String, String, CancellationToken)

Triggers a job to export a project's data.

ExportAsync(WaitUntil, String, String, String, RequestContext)

[Protocol Method] Triggers a job to export a project's data.

ExportAsync(WaitUntil, StringIndexType, String, String, CancellationToken)

Source:
TextAuthoringProject.cs

Triggers a job to export a project's data.

public virtual System.Threading.Tasks.Task<Azure.Operation> ExportAsync(Azure.WaitUntil waitUntil, Azure.AI.Language.Text.Authoring.StringIndexType stringIndexType, string assetKind = default, string trainedModelLabel = default, System.Threading.CancellationToken cancellationToken = default);
abstract member ExportAsync : Azure.WaitUntil * Azure.AI.Language.Text.Authoring.StringIndexType * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Operation>
override this.ExportAsync : Azure.WaitUntil * Azure.AI.Language.Text.Authoring.StringIndexType * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Operation>
Public Overridable Function ExportAsync (waitUntil As WaitUntil, stringIndexType As StringIndexType, Optional assetKind As String = Nothing, Optional trainedModelLabel As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Operation)

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

stringIndexType
StringIndexType

Specifies the method used to interpret string offsets. For additional information see https://aka.ms/text-analytics-offsets.

assetKind
String

Kind of asset to export.

trainedModelLabel
String

Trained model label to export. If the trainedModelLabel is null, the default behavior is to export the current working copy.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to

ExportAsync(WaitUntil, String, String, String, RequestContext)

Source:
TextAuthoringProject.cs

[Protocol Method] Triggers a job to export a project's data.

public virtual System.Threading.Tasks.Task<Azure.Operation> ExportAsync(Azure.WaitUntil waitUntil, string stringIndexType, string assetKind = default, string trainedModelLabel = default, Azure.RequestContext context = default);
abstract member ExportAsync : Azure.WaitUntil * string * string * string * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Operation>
override this.ExportAsync : Azure.WaitUntil * string * string * string * Azure.RequestContext -> System.Threading.Tasks.Task<Azure.Operation>
Public Overridable Function ExportAsync (waitUntil As WaitUntil, stringIndexType As String, Optional assetKind As String = Nothing, Optional trainedModelLabel As String = Nothing, Optional context As RequestContext = Nothing) As Task(Of Operation)

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

stringIndexType
String

Specifies the method used to interpret string offsets. For additional information see https://aka.ms/text-analytics-offsets. Allowed values: "Utf16CodeUnit".

assetKind
String

Kind of asset to export.

trainedModelLabel
String

Trained model label to export. If the trainedModelLabel is null, the default behavior is to export the current working copy.

context
RequestContext

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

Returns

The Operation representing an asynchronous operation on the service.

Exceptions

Service returned a non-success status code.

Applies to