共用方式為


TextAnalysisModelFactory.SentimentOperationResult Method

Definition

Initializes a new instance of SentimentOperationResult.

public static Azure.AI.Language.Text.SentimentOperationResult SentimentOperationResult (DateTimeOffset lastUpdateDateTime = default, Azure.AI.Language.Text.TextActionState status = default, string name = default, Azure.AI.Language.Text.SentimentResult results = default);
static member SentimentOperationResult : DateTimeOffset * Azure.AI.Language.Text.TextActionState * string * Azure.AI.Language.Text.SentimentResult -> Azure.AI.Language.Text.SentimentOperationResult
Public Shared Function SentimentOperationResult (Optional lastUpdateDateTime As DateTimeOffset = Nothing, Optional status As TextActionState = Nothing, Optional name As String = Nothing, Optional results As SentimentResult = Nothing) As SentimentOperationResult

Parameters

lastUpdateDateTime
DateTimeOffset

The last updated time in UTC for the task.

status
TextActionState

The status of the task at the mentioned last update time.

name
String

task name.

results
SentimentResult

The sentiment analysis results.

Returns

A new SentimentOperationResult instance for mocking.

Applies to