'Declaration
Function SendRequestAsync( _ ByVal request As IServiceRequest, _ ByVal ct As CancellationToken _ ) As Task(Of IServiceResponse)
'Usage
Dim instance As ITransportChannel Dim request As IServiceRequest Dim ct As CancellationToken Dim value As Task(Of IServiceResponse) value = instance.SendRequestAsync(request, ct)
Task<IServiceResponse> SendRequestAsync( IServiceRequest request, CancellationToken ct )
Task<IServiceResponse^>^ SendRequestAsync( IServiceRequest^ request, CancellationToken ct )
Parameters
- request
- The request to send.
- ct
- The cancellation token.
Return Value
The response returned by the server.