Condividi tramite


TextAnalyticsModelFactory.SingleLabelClassifyActionResult Method

Definition

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

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.

code
String

Sets the ErrorCode property.

message
String

Sets the Message property.

Returns

A new instance of SingleLabelClassifyActionResult for mocking purposes.

Applies to