Condividi tramite


TextAnalyticsModelFactory.RecognizePiiEntitiesResult Method

Definition

Overloads

RecognizePiiEntitiesResult(String, TextAnalyticsError)

Initializes a new instance of RecognizePiiEntitiesResult for mocking purposes.

RecognizePiiEntitiesResult(String, TextDocumentStatistics, PiiEntityCollection)

Initializes a new instance of RecognizePiiEntitiesResult for mocking purposes.

RecognizePiiEntitiesResult(String, TextAnalyticsError)

Source:
TextAnalyticsModelFactory.cs

Initializes a new instance of RecognizePiiEntitiesResult for mocking purposes.

public static Azure.AI.TextAnalytics.RecognizePiiEntitiesResult RecognizePiiEntitiesResult (string id, Azure.AI.TextAnalytics.TextAnalyticsError error);
static member RecognizePiiEntitiesResult : string * Azure.AI.TextAnalytics.TextAnalyticsError -> Azure.AI.TextAnalytics.RecognizePiiEntitiesResult
Public Shared Function RecognizePiiEntitiesResult (id As String, error As TextAnalyticsError) As RecognizePiiEntitiesResult

Parameters

id
String

Sets the Id property.

error
TextAnalyticsError

Sets the Error property.

Returns

A new instance of RecognizePiiEntitiesResult for mocking purposes.

Applies to

RecognizePiiEntitiesResult(String, TextDocumentStatistics, PiiEntityCollection)

Source:
TextAnalyticsModelFactory.cs

Initializes a new instance of RecognizePiiEntitiesResult for mocking purposes.

public static Azure.AI.TextAnalytics.RecognizePiiEntitiesResult RecognizePiiEntitiesResult (string id, Azure.AI.TextAnalytics.TextDocumentStatistics statistics, Azure.AI.TextAnalytics.PiiEntityCollection entities);
static member RecognizePiiEntitiesResult : string * Azure.AI.TextAnalytics.TextDocumentStatistics * Azure.AI.TextAnalytics.PiiEntityCollection -> Azure.AI.TextAnalytics.RecognizePiiEntitiesResult
Public Shared Function RecognizePiiEntitiesResult (id As String, statistics As TextDocumentStatistics, entities As PiiEntityCollection) As RecognizePiiEntitiesResult

Parameters

id
String

Sets the Id property.

statistics
TextDocumentStatistics

Sets the Statistics property.

entities
PiiEntityCollection

Sets the collection of PiiEntityCollection.

Returns

A new instance of RecognizePiiEntitiesResult for mocking purposes.

Applies to