IServiceRemotingMessageHandler.RequestResponseAsync(IServiceRemotingRequestContext, ServiceRemotingMessageHeaders, Byte[]) Method

Definition

Handles a message from the client that requires a response from the service.

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

Parameters

requestContext
IServiceRemotingRequestContext

Contains additional information about the request.

messageHeaders
ServiceRemotingMessageHeaders

The request message headers.

requestBody
System.Byte[]

The request message body.

Returns

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

The response body.

Applies to