共用方式為


TextAnalysisModelFactory.AnalyzeTextOperationState Method

Definition

Initializes a new instance of AnalyzeTextOperationState.

public static Azure.AI.Language.Text.AnalyzeTextOperationState AnalyzeTextOperationState (string displayName = default, DateTimeOffset createdAt = default, DateTimeOffset? expiresOn = default, Guid jobId = default, DateTimeOffset lastUpdatedAt = default, Azure.AI.Language.Text.TextActionState status = default, System.Collections.Generic.IEnumerable<Azure.AI.Language.Text.AnalyzeTextError> errors = default, string nextLink = default, Azure.AI.Language.Text.TextActions actions = default, Azure.AI.Language.Text.RequestStatistics statistics = default);
static member AnalyzeTextOperationState : string * DateTimeOffset * Nullable<DateTimeOffset> * Guid * DateTimeOffset * Azure.AI.Language.Text.TextActionState * seq<Azure.AI.Language.Text.AnalyzeTextError> * string * Azure.AI.Language.Text.TextActions * Azure.AI.Language.Text.RequestStatistics -> Azure.AI.Language.Text.AnalyzeTextOperationState
Public Shared Function AnalyzeTextOperationState (Optional displayName As String = Nothing, Optional createdAt As DateTimeOffset = Nothing, Optional expiresOn As Nullable(Of DateTimeOffset) = Nothing, Optional jobId As Guid = Nothing, Optional lastUpdatedAt As DateTimeOffset = Nothing, Optional status As TextActionState = Nothing, Optional errors As IEnumerable(Of AnalyzeTextError) = Nothing, Optional nextLink As String = Nothing, Optional actions As TextActions = Nothing, Optional statistics As RequestStatistics = Nothing) As AnalyzeTextOperationState

Parameters

displayName
String

display name.

createdAt
DateTimeOffset

Date and time job created.

expiresOn
Nullable<DateTimeOffset>

Date and time job expires.

jobId
Guid

job ID.

lastUpdatedAt
DateTimeOffset

last updated date and time.

status
TextActionState

status.

errors
IEnumerable<AnalyzeTextError>

errors.

nextLink
String

next link.

actions
TextActions

List of tasks.

statistics
RequestStatistics

if showStats=true was specified in the request this field will contain information about the request payload.

Returns

A new AnalyzeTextOperationState instance for mocking.

Applies to