Sdílet prostřednictvím


OperationDetails Constructor

Definition

Initializes a new instance of OperationDetails.

protected OperationDetails (string operationId, Azure.AI.DocumentIntelligence.OperationStatus status, DateTimeOffset createdOn, DateTimeOffset lastUpdatedOn, Uri resourceLocation);
new Azure.AI.DocumentIntelligence.OperationDetails : string * Azure.AI.DocumentIntelligence.OperationStatus * DateTimeOffset * DateTimeOffset * Uri -> Azure.AI.DocumentIntelligence.OperationDetails
Protected Sub New (operationId As String, status As OperationStatus, createdOn As DateTimeOffset, lastUpdatedOn As DateTimeOffset, resourceLocation As Uri)

Parameters

operationId
String

Operation ID.

status
OperationStatus

Operation status. notStarted, running, completed, or failed.

createdOn
DateTimeOffset

Date and time (UTC) when the operation was created.

lastUpdatedOn
DateTimeOffset

Date and time (UTC) when the status was last updated.

resourceLocation
Uri

URL of the resource targeted by this operation.

Exceptions

operationId or resourceLocation is null.

Applies to