Udostępnij za pośrednictwem


IServiceRemotingContract.OneWayMessage Method

Definition

Sends a one way message to the client.

[System.ServiceModel.OperationContract(IsOneWay=true)]
public void OneWayMessage (ArraySegment<byte> messageHeaders, System.Collections.Generic.IEnumerable<ArraySegment<byte>> requestBody);
[<System.ServiceModel.OperationContract(IsOneWay=true)>]
abstract member OneWayMessage : ArraySegment<byte> * seq<ArraySegment<byte>> -> unit
Public Sub OneWayMessage (messageHeaders As ArraySegment(Of Byte), requestBody As IEnumerable(Of ArraySegment(Of Byte)))

Parameters

messageHeaders
ArraySegment<Byte>

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

requestBody
IEnumerable<ArraySegment<Byte>>

Message Body contains a serialized message

Attributes

Applies to