TextAnalysisModelFactory.RequestStatistics(Int32, Int32, Int32, Int64) 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.
Initializes a new instance of RequestStatistics.
public static Azure.AI.Language.Text.RequestStatistics RequestStatistics (int documentsCount = 0, int validDocumentsCount = 0, int erroneousDocumentsCount = 0, long transactionsCount = 0);
static member RequestStatistics : int * int * int * int64 -> Azure.AI.Language.Text.RequestStatistics
Public Shared Function RequestStatistics (Optional documentsCount As Integer = 0, Optional validDocumentsCount As Integer = 0, Optional erroneousDocumentsCount As Integer = 0, Optional transactionsCount As Long = 0) As RequestStatistics
Parameters
- documentsCount
- Int32
Number of documents submitted in the request.
- validDocumentsCount
- Int32
Number of valid documents. This excludes empty, over-size limit or non-supported languages documents.
- erroneousDocumentsCount
- Int32
Number of invalid documents. This includes empty, over-size limit or non-supported languages documents.
- transactionsCount
- Int64
Number of transactions for the request.
Returns
A new RequestStatistics instance for mocking.