AsyncCollectionRequestMessage<T>.GetResponsesAsync 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.
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.