다음을 통해 공유


ConversationsModelFactory.ConversationActions Method

Definition

Initializes a new instance of ConversationActions.

public static Azure.AI.Language.Conversations.Models.ConversationActions ConversationActions (int completed = 0, int failed = 0, int inProgress = 0, int total = 0, System.Collections.Generic.IEnumerable<Azure.AI.Language.Conversations.Models.AnalyzeConversationOperationResult> items = default);
static member ConversationActions : int * int * int * int * seq<Azure.AI.Language.Conversations.Models.AnalyzeConversationOperationResult> -> Azure.AI.Language.Conversations.Models.ConversationActions
Public Shared Function ConversationActions (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 AnalyzeConversationOperationResult) = Nothing) As ConversationActions

Parameters

completed
Int32

Count of tasks that finished successfully.

failed
Int32

Count of tasks that failed.

inProgress
Int32

Count of tasks that are currently in progress.

total
Int32

Total count of tasks submitted as part of the job.

items
IEnumerable<AnalyzeConversationOperationResult>

List of results from tasks (if available). Please note AnalyzeConversationOperationResult 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 ConversationPiiOperationResult, SummarizationOperationResult and CustomSummarizationOperationResult.

Returns

A new ConversationActions instance for mocking.

Applies to