TextAnalysisModelFactory.SentimentLROResult 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.
Initializes a new instance of SentimentLROResult.
public static Azure.AI.Language.Text.SentimentLROResult SentimentLROResult(DateTimeOffset lastUpdateDateTime = default, Azure.AI.Language.Text.TextActionState status = default, string name = default, Azure.AI.Language.Text.SentimentResult results = default);
static member SentimentLROResult : DateTimeOffset * Azure.AI.Language.Text.TextActionState * string * Azure.AI.Language.Text.SentimentResult -> Azure.AI.Language.Text.SentimentLROResult
Public Shared Function SentimentLROResult (Optional lastUpdateDateTime As DateTimeOffset = Nothing, Optional status As TextActionState = Nothing, Optional name As String = Nothing, Optional results As SentimentResult = Nothing) As SentimentLROResult
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 SentimentLROResult instance for mocking.