Share via


IServiceRemotingClient.RequestResponseAsync Method

Definition

Send a remoting request to the service and gets a response back.

public System.Threading.Tasks.Task<Microsoft.ServiceFabric.Services.Remoting.V2.IServiceRemotingResponseMessage> RequestResponseAsync (Microsoft.ServiceFabric.Services.Remoting.V2.IServiceRemotingRequestMessage requestRequestMessage);
abstract member RequestResponseAsync : Microsoft.ServiceFabric.Services.Remoting.V2.IServiceRemotingRequestMessage -> System.Threading.Tasks.Task<Microsoft.ServiceFabric.Services.Remoting.V2.IServiceRemotingResponseMessage>
Public Function RequestResponseAsync (requestRequestMessage As IServiceRemotingRequestMessage) As Task(Of IServiceRemotingResponseMessage)

Parameters

requestRequestMessage
IServiceRemotingRequestMessage

The request message.

Returns

A Task that represents the asynchronous operation for remote method call. The result of the task contains the response for the request.

Applies to