IServiceRemotingCallbackContract.RequestResponseAsync 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.
Sends a message to the client and gets the response.
[System.ServiceModel.FaultContract(typeof(Microsoft.ServiceFabric.Services.Remoting.V1.RemoteExceptionInformation))]
[System.ServiceModel.OperationContract]
public System.Threading.Tasks.Task<byte[]> RequestResponseAsync (Microsoft.ServiceFabric.Services.Remoting.V1.ServiceRemotingMessageHeaders messageHeaders, byte[] requestBody);
[<System.ServiceModel.FaultContract(typeof(Microsoft.ServiceFabric.Services.Remoting.V1.RemoteExceptionInformation))>]
[<System.ServiceModel.OperationContract>]
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
- Microsoft.ServiceFabric.Services.Remoting.V1.ServiceRemotingMessageHeaders
Message Headers contains the information needed to deserialize request and to dispatch message to the client.
- requestBody
- Byte[]
Message Body contains a request in a serialized form.
Returns
Response Body is a serialized response received by the service.
- Attributes
Applies to
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Azure SDK for .NET