Share via


TextAnalyticsModelFactory.TextDocumentBatchStatistics Method

Definition

Initializes a new instance of TextDocumentBatchStatistics for mocking purposes.

public static Azure.AI.TextAnalytics.TextDocumentBatchStatistics TextDocumentBatchStatistics (int documentCount, int validDocumentCount, int invalidDocumentCount, long transactionCount);
static member TextDocumentBatchStatistics : int * int * int * int64 -> Azure.AI.TextAnalytics.TextDocumentBatchStatistics
Public Shared Function TextDocumentBatchStatistics (documentCount As Integer, validDocumentCount As Integer, invalidDocumentCount As Integer, transactionCount As Long) As TextDocumentBatchStatistics

Parameters

documentCount
Int32

Sets the DocumentCount property.

validDocumentCount
Int32

Sets the ValidDocumentCount property.

invalidDocumentCount
Int32

Sets the InvalidDocumentCount property.

transactionCount
Int64

Sets the TransactionCount property.

Returns

A new instance of TextDocumentBatchStatistics for mocking purposes.

Applies to