แก้ไข

แชร์ผ่าน


IDispatchMessageFormatter.SerializeReply Method

Definition

Serializes a reply message from a specified message version, array of parameters, and a return value.

public:
 System::ServiceModel::Channels::Message ^ SerializeReply(System::ServiceModel::Channels::MessageVersion ^ messageVersion, cli::array <System::Object ^> ^ parameters, System::Object ^ result);
public System.ServiceModel.Channels.Message SerializeReply (System.ServiceModel.Channels.MessageVersion messageVersion, object[] parameters, object result);
abstract member SerializeReply : System.ServiceModel.Channels.MessageVersion * obj[] * obj -> System.ServiceModel.Channels.Message
Public Function SerializeReply (messageVersion As MessageVersion, parameters As Object(), result As Object) As Message

Parameters

messageVersion
MessageVersion

The SOAP message version.

parameters
Object[]

The out parameters.

result
Object

The return value.

Returns

The serialized reply message.

Examples

For a complete example, see Operation Formatter and Operation Selector.

Applies to