TextAnalysisModelFactory.TextActions 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 TextActions.
public static Azure.AI.Language.Text.TextActions TextActions (int completed = 0, int failed = 0, int inProgress = 0, int total = 0, System.Collections.Generic.IEnumerable<Azure.AI.Language.Text.AnalyzeTextOperationResult> items = default);
static member TextActions : int * int * int * int * seq<Azure.AI.Language.Text.AnalyzeTextOperationResult> -> Azure.AI.Language.Text.TextActions
Public Shared Function TextActions (Optional completed As Integer = 0, Optional failed As Integer = 0, Optional inProgress As Integer = 0, Optional total As Integer = 0, Optional items As IEnumerable(Of AnalyzeTextOperationResult) = Nothing) As TextActions
Parameters
- completed
- Int32
Count of completed tasks.
- failed
- Int32
Count of failed tasks.
- inProgress
- Int32
Count of inprogress tasks.
- total
- Int32
Count of total tasks.
Enumerable of Analyze text job results. Please note AnalyzeTextOperationResult is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include AbstractiveSummarizationOperationResult, CustomAbstractiveSummarizationOperationResult, CustomEntityRecognitionOperationResult, CustomHealthcareOperationResult, CustomMultiLabelClassificationOperationResult, CustomSentimentAnalysisOperationResult, CustomSingleLabelClassificationOperationResult, EntityLinkingOperationResult, EntityRecognitionOperationResult, ExtractiveSummarizationOperationResult, HealthcareOperationResult, KeyPhraseExtractionOperationResult, PiiEntityRecognitionOperationResult and SentimentOperationResult.
Returns
A new TextActions instance for mocking.
Applies to
Azure SDK for .NET