TextAnalyticsModelFactory.SingleLabelClassifyActionResult 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
SingleLabelClassifyActionResult(ClassifyDocumentResultCollection, String, DateTimeOffset) |
Initializes a new instance of SingleLabelClassifyActionResult for mocking purposes. |
SingleLabelClassifyActionResult(String, DateTimeOffset, String, String) |
Initializes a new instance of SingleLabelClassifyActionResult for mocking purposes. |
SingleLabelClassifyActionResult(ClassifyDocumentResultCollection, String, DateTimeOffset)
- Source:
- TextAnalyticsModelFactory.cs
Initializes a new instance of SingleLabelClassifyActionResult for mocking purposes.
public static Azure.AI.TextAnalytics.SingleLabelClassifyActionResult SingleLabelClassifyActionResult (Azure.AI.TextAnalytics.ClassifyDocumentResultCollection result, string actionName, DateTimeOffset completedOn);
static member SingleLabelClassifyActionResult : Azure.AI.TextAnalytics.ClassifyDocumentResultCollection * string * DateTimeOffset -> Azure.AI.TextAnalytics.SingleLabelClassifyActionResult
Public Shared Function SingleLabelClassifyActionResult (result As ClassifyDocumentResultCollection, actionName As String, completedOn As DateTimeOffset) As SingleLabelClassifyActionResult
Parameters
Sets the DocumentsResults property.
- actionName
- String
Sets the ActionName property.
- completedOn
- DateTimeOffset
Sets the CompletedOn property.
Returns
A new instance of SingleLabelClassifyActionResult for mocking purposes.
Applies to
SingleLabelClassifyActionResult(String, DateTimeOffset, String, String)
- Source:
- TextAnalyticsModelFactory.cs
Initializes a new instance of SingleLabelClassifyActionResult for mocking purposes.
public static Azure.AI.TextAnalytics.SingleLabelClassifyActionResult SingleLabelClassifyActionResult (string actionName, DateTimeOffset completedOn, string code, string message);
static member SingleLabelClassifyActionResult : string * DateTimeOffset * string * string -> Azure.AI.TextAnalytics.SingleLabelClassifyActionResult
Public Shared Function SingleLabelClassifyActionResult (actionName As String, completedOn As DateTimeOffset, code As String, message As String) As SingleLabelClassifyActionResult
Parameters
- actionName
- String
Sets the ActionName property.
- completedOn
- DateTimeOffset
Sets the CompletedOn property.
Returns
A new instance of SingleLabelClassifyActionResult for mocking purposes.