IServiceRemotingCallbackClient.RequestResponseAsync(ServiceRemotingMessageHeaders, Byte[]) Method

Definition

Sends a message to the client and gets the response.

public System.Threading.Tasks.Task<byte[]> RequestResponseAsync (Microsoft.ServiceFabric.Services.Remoting.V1.ServiceRemotingMessageHeaders messageHeaders, byte[] requestBody);
abstract member RequestResponseAsync : Microsoft.ServiceFabric.Services.Remoting.V1.ServiceRemotingMessageHeaders * byte[] -> System.Threading.Tasks.Task<byte[]>
Public Function RequestResponseAsync (messageHeaders As ServiceRemotingMessageHeaders, requestBody As Byte()) As Task(Of Byte())

Parameters

messageHeaders
ServiceRemotingMessageHeaders

The message headers.

requestBody
System.Byte[]

The message body.

Returns

System.Threading.Tasks.Task<System.Byte[]>

Response body

Applies to