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

TextAuthoringCopyProjectDetails Constructor

Definition

Initializes a new instance of TextAuthoringCopyProjectDetails.

public TextAuthoringCopyProjectDetails(Azure.AI.Language.Text.Authoring.TextAuthoringProjectKind projectKind, string targetProjectName, string accessToken, DateTimeOffset expiresAt, string targetResourceId, string targetResourceRegion);
new Azure.AI.Language.Text.Authoring.TextAuthoringCopyProjectDetails : Azure.AI.Language.Text.Authoring.TextAuthoringProjectKind * string * string * DateTimeOffset * string * string -> Azure.AI.Language.Text.Authoring.TextAuthoringCopyProjectDetails
Public Sub New (projectKind As TextAuthoringProjectKind, targetProjectName As String, accessToken As String, expiresAt As DateTimeOffset, targetResourceId As String, targetResourceRegion As String)

Parameters

projectKind
TextAuthoringProjectKind

Represents the project kind.

targetProjectName
String

The project name to be copied-into.

accessToken
String

The access token.

expiresAt
DateTimeOffset

The expiration of the access token.

targetResourceId
String

Represents the target Azure resource ID.

targetResourceRegion
String

Represents the target Azure resource region.

Exceptions

targetProjectName, accessToken, targetResourceId or targetResourceRegion is null.

Applies to