TextAnalyticsModelFactory.RecognizePiiEntitiesResult Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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
- statistics
- TextDocumentStatistics
Sets the Statistics property.
- entities
- PiiEntityCollection
Sets the collection of PiiEntityCollection.
Returns
A new instance of RecognizePiiEntitiesResult for mocking purposes.