你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

TextAnalyticsModelFactory.AnalyzeSentimentActionResult Method

Definition

Overloads

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