Share via


TextAnalyticsModelFactory.RecognizePiiEntitiesActionResult Method

Definition

Overloads

RecognizePiiEntitiesActionResult(RecognizePiiEntitiesResultCollection, String, DateTimeOffset)

` Initializes a new instance of RecognizePiiEntitiesActionResult for mocking purposes.

RecognizePiiEntitiesActionResult(String, DateTimeOffset, String, String)

Initializes a new instance of RecognizePiiEntitiesActionResult for mocking purposes.

RecognizePiiEntitiesActionResult(RecognizePiiEntitiesResultCollection, String, DateTimeOffset)

Source:
TextAnalyticsModelFactory.cs

` Initializes a new instance of RecognizePiiEntitiesActionResult for mocking purposes.

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

Parameters

actionName
String

Sets the ActionName property.

completedOn
DateTimeOffset

Sets the CompletedOn property.

Returns

A new instance of RecognizePiiEntitiesActionResult for mocking purposes.

Applies to

RecognizePiiEntitiesActionResult(String, DateTimeOffset, String, String)

Source:
TextAnalyticsModelFactory.cs

Initializes a new instance of RecognizePiiEntitiesActionResult for mocking purposes.

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

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

Applies to