TextAnalysisAuthoringModelFactory.TextAuthoringCopyProjectState 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.
Initializes a new instance of TextAuthoringCopyProjectState.
public static Azure.AI.Language.Text.Authoring.TextAuthoringCopyProjectState TextAuthoringCopyProjectState(string jobId = default, DateTimeOffset createdOn = default, DateTimeOffset lastUpdatedOn = default, DateTimeOffset? expiresOn = default, Azure.AI.Language.Text.Authoring.TextAuthoringOperationStatus status = default, System.Collections.Generic.IEnumerable<Azure.ResponseError> warnings = default, System.Collections.Generic.IEnumerable<Azure.ResponseError> errors = default);
static member TextAuthoringCopyProjectState : string * DateTimeOffset * DateTimeOffset * Nullable<DateTimeOffset> * Azure.AI.Language.Text.Authoring.TextAuthoringOperationStatus * seq<Azure.ResponseError> * seq<Azure.ResponseError> -> Azure.AI.Language.Text.Authoring.TextAuthoringCopyProjectState
Public Shared Function TextAuthoringCopyProjectState (Optional jobId As String = Nothing, Optional createdOn As DateTimeOffset = Nothing, Optional lastUpdatedOn As DateTimeOffset = Nothing, Optional expiresOn As Nullable(Of DateTimeOffset) = Nothing, Optional status As TextAuthoringOperationStatus = Nothing, Optional warnings As IEnumerable(Of ResponseError) = Nothing, Optional errors As IEnumerable(Of ResponseError) = Nothing) As TextAuthoringCopyProjectState
Parameters
- jobId
- String
The job ID.
- createdOn
- DateTimeOffset
The creation date time of the job.
- lastUpdatedOn
- DateTimeOffset
The last date time the job was updated.
- expiresOn
- Nullable<DateTimeOffset>
The expiration date time of the job.
- status
- TextAuthoringOperationStatus
The job status.
- warnings
- IEnumerable<ResponseError>
The warnings that were encountered while executing the job.
- errors
- IEnumerable<ResponseError>
The errors encountered while executing the job.
Returns
A new TextAuthoringCopyProjectState instance for mocking.