다음을 통해 공유


TextAnalyticsModelFactory.AnalyzeSentimentActionResult Method

Definition

Overloads

AnalyzeSentimentActionResult(AnalyzeSentimentResultCollection, String, DateTimeOffset)

Initializes a new instance of AnalyzeSentimentActionResult for mocking purposes.

AnalyzeSentimentActionResult(String, DateTimeOffset, String, String)

Initializes a new instance of AnalyzeSentimentActionResult for mocking purposes.

AnalyzeSentimentActionResult(AnalyzeSentimentResultCollection, String, DateTimeOffset)

Source:
TextAnalyticsModelFactory.cs

Initializes a new instance of AnalyzeSentimentActionResult for mocking purposes.

public static Azure.AI.TextAnalytics.AnalyzeSentimentActionResult AnalyzeSentimentActionResult (Azure.AI.TextAnalytics.AnalyzeSentimentResultCollection result, string actionName, DateTimeOffset completedOn);
static member AnalyzeSentimentActionResult : Azure.AI.TextAnalytics.AnalyzeSentimentResultCollection * string * DateTimeOffset -> Azure.AI.TextAnalytics.AnalyzeSentimentActionResult
Public Shared Function AnalyzeSentimentActionResult (result As AnalyzeSentimentResultCollection, actionName As String, completedOn As DateTimeOffset) As AnalyzeSentimentActionResult

Parameters

actionName
String

Sets the ActionName property.

completedOn
DateTimeOffset

Sets the CompletedOn property.

Returns

A new instance of AnalyzeSentimentActionResult for mocking purposes.

Applies to

AnalyzeSentimentActionResult(String, DateTimeOffset, String, String)

Source:
TextAnalyticsModelFactory.cs

Initializes a new instance of AnalyzeSentimentActionResult for mocking purposes.

public static Azure.AI.TextAnalytics.AnalyzeSentimentActionResult AnalyzeSentimentActionResult (string actionName, DateTimeOffset completedOn, string code, string message);
static member AnalyzeSentimentActionResult : string * DateTimeOffset * string * string -> Azure.AI.TextAnalytics.AnalyzeSentimentActionResult
Public Shared Function AnalyzeSentimentActionResult (actionName As String, completedOn As DateTimeOffset, code As String, message As String) As AnalyzeSentimentActionResult

Parameters

actionName
String

Sets the ActionName property.

completedOn
DateTimeOffset

Sets the CompletedOn property.

code
String

Sets the ErrorCode property.

message
String

Sets the Message property.

Returns

A new instance of AnalyzeSentimentActionResult for mocking purposes.

Applies to