TextAnalyticsModelFactory.AnalyzeSentimentActionResult Method

Definition

Overloads

AnalyzeSentimentActionResult(AnalyzeSentimentResultCollection, DateTimeOffset)

Initializes a new instance of AnalyzeSentimentActionResult for mocking purposes.

AnalyzeSentimentActionResult(DateTimeOffset, String, String)

Initializes a new instance of AnalyzeSentimentActionResult for mocking purposes.

AnalyzeSentimentActionResult(AnalyzeSentimentResultCollection, DateTimeOffset)

Initializes a new instance of AnalyzeSentimentActionResult for mocking purposes.

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

Parameters

completedOn
DateTimeOffset

Sets the CompletedOn property.

Returns

AnalyzeSentimentActionResult

A new instance of AnalyzeSentimentActionResult for mocking purposes.

Applies to

AnalyzeSentimentActionResult(DateTimeOffset, String, String)

Initializes a new instance of AnalyzeSentimentActionResult for mocking purposes.

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

Parameters

completedOn
DateTimeOffset

Sets the CompletedOn property.

code
String

Sets the ErrorCode property.

message
String

Sets the Message property.

Returns

AnalyzeSentimentActionResult

A new instance of AnalyzeSentimentActionResult for mocking purposes.

Applies to