AsyncCollectionRequestMessage<T>.GetResponsesAsync Method

Definition

Gets the collection of received response items.

public System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyCollection<T>> GetResponsesAsync (System.Threading.CancellationToken cancellationToken = default);
member this.GetResponsesAsync : System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.IReadOnlyCollection<'T>>
Public Function GetResponsesAsync (Optional cancellationToken As CancellationToken = Nothing) As Task(Of IReadOnlyCollection(Of T))

Parameters

cancellationToken
CancellationToken

A CancellationToken value to stop the operation.

Returns

The collection of received response items.

Applies to