Share via


IServiceRemotingContract.OneWayMessage Method

Definition

Sends a one way message to the client.

[System.ServiceModel.OperationContract(IsOneWay=true)]
public void OneWayMessage (Microsoft.ServiceFabric.Services.Remoting.V1.ServiceRemotingMessageHeaders messageHeaders, byte[] requestBody);
[<System.ServiceModel.OperationContract(IsOneWay=true)>]
abstract member OneWayMessage : Microsoft.ServiceFabric.Services.Remoting.V1.ServiceRemotingMessageHeaders * byte[] -> unit
Public Sub OneWayMessage (messageHeaders As ServiceRemotingMessageHeaders, requestBody As Byte())

Parameters

messageHeaders
Microsoft.ServiceFabric.Services.Remoting.V1.ServiceRemotingMessageHeaders

Message Headers contains the information needed to deserialize request and to dispatch message to the service.

requestBody
Byte[]

Message Body contains a serialized message.

Attributes

Applies to