Share via


IServiceRemotingResponseMessageBodySerializer.Serialize Method

Definition

Serialize the remoting response body object to a message body that can be sent over the wire.

public Microsoft.ServiceFabric.Services.Remoting.V2.Messaging.IOutgoingMessageBody Serialize (Microsoft.ServiceFabric.Services.Remoting.V2.IServiceRemotingResponseMessageBody serviceRemotingResponseMessageBody);
abstract member Serialize : Microsoft.ServiceFabric.Services.Remoting.V2.IServiceRemotingResponseMessageBody -> Microsoft.ServiceFabric.Services.Remoting.V2.Messaging.IOutgoingMessageBody
Public Function Serialize (serviceRemotingResponseMessageBody As IServiceRemotingResponseMessageBody) As IOutgoingMessageBody

Parameters

serviceRemotingResponseMessageBody
IServiceRemotingResponseMessageBody

Remoting response message body object.

Returns

Serialized message body.

Applies to