Share via


TeamsOperations.GetPagedFailedEntriesAsync Method

Definition

Gets the failed entries of a batch operation with error code and message.

public System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Bot.Schema.Teams.BatchFailedEntriesResponse>> GetPagedFailedEntriesAsync (string operationId, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, string continuationToken = default, System.Threading.CancellationToken cancellationToken = default);
member this.GetPagedFailedEntriesAsync : string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.HttpOperationResponse<Microsoft.Bot.Schema.Teams.BatchFailedEntriesResponse>>
Public Function GetPagedFailedEntriesAsync (operationId As String, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional continuationToken As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of HttpOperationResponse(Of BatchFailedEntriesResponse))

Parameters

operationId
String

The operationId to get the failed entries of.

customHeaders
Dictionary<String,List<String>>

Headers that will be added to request.

continuationToken
String

The continuation token.

cancellationToken
CancellationToken

The cancellation token.

Returns

Task<Microsoft.Rest.HttpOperationResponse<BatchFailedEntriesResponse>>

A response object containing the state and responses of the operation.

Exceptions

Microsoft.Rest.HttpOperationException

Thrown when the operation returned an invalid status code.

Microsoft.Rest.ValidationException

Thrown when an input value does not match the expected data type, range or pattern.

Applies to