Share via


TextAnalyticsModelFactory.MultiLabelClassifyActionResult Method

Definition

Overloads

MultiLabelClassifyActionResult(ClassifyDocumentResultCollection, String, DateTimeOffset)

Initializes a new instance of MultiLabelClassifyActionResult for mocking purposes.

MultiLabelClassifyActionResult(String, DateTimeOffset, String, String)

Initializes a new instance of MultiLabelClassifyActionResult for mocking purposes.

MultiLabelClassifyActionResult(ClassifyDocumentResultCollection, String, DateTimeOffset)

Source:
TextAnalyticsModelFactory.cs

Initializes a new instance of MultiLabelClassifyActionResult for mocking purposes.

public static Azure.AI.TextAnalytics.MultiLabelClassifyActionResult MultiLabelClassifyActionResult (Azure.AI.TextAnalytics.ClassifyDocumentResultCollection result, string actionName, DateTimeOffset completedOn);
static member MultiLabelClassifyActionResult : Azure.AI.TextAnalytics.ClassifyDocumentResultCollection * string * DateTimeOffset -> Azure.AI.TextAnalytics.MultiLabelClassifyActionResult
Public Shared Function MultiLabelClassifyActionResult (result As ClassifyDocumentResultCollection, actionName As String, completedOn As DateTimeOffset) As MultiLabelClassifyActionResult

Parameters

actionName
String

Sets the ActionName property.

completedOn
DateTimeOffset

Sets the CompletedOn property.

Returns

A new instance of MultiLabelClassifyActionResult for mocking purposes.

Applies to

MultiLabelClassifyActionResult(String, DateTimeOffset, String, String)

Source:
TextAnalyticsModelFactory.cs

Initializes a new instance of MultiLabelClassifyActionResult for mocking purposes.

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

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 MultiLabelClassifyActionResult for mocking purposes.

Applies to