TextAnalyticsModelFactory.AnalyzeSentimentActionResult Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Sets the DocumentsResults property.
- 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.
Returns
A new instance of AnalyzeSentimentActionResult for mocking purposes.