Share via


TextAnalyticsModelFactory.RecognizeEntitiesActionResult Method

Definition

Overloads

RecognizeEntitiesActionResult(RecognizeEntitiesResultCollection, String, DateTimeOffset)

Initializes a new instance of RecognizeEntitiesActionResult for mocking purposes.

RecognizeEntitiesActionResult(String, DateTimeOffset, String, String)

Initializes a new instance of RecognizeEntitiesActionResult for mocking purposes.

RecognizeEntitiesActionResult(RecognizeEntitiesResultCollection, String, DateTimeOffset)

Source:
TextAnalyticsModelFactory.cs

Initializes a new instance of RecognizeEntitiesActionResult for mocking purposes.

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

Parameters

actionName
String

Sets the ActionName property.

completedOn
DateTimeOffset

Sets the CompletedOn property.

Returns

A new instance of RecognizeEntitiesActionResult for mocking purposes.

Applies to

RecognizeEntitiesActionResult(String, DateTimeOffset, String, String)

Source:
TextAnalyticsModelFactory.cs

Initializes a new instance of RecognizeEntitiesActionResult for mocking purposes.

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

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

Applies to