IDispatchMessageFormatter.SerializeReply 方法

定义

从指定的消息版本、参数数组和返回值序列化答复消息。

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

参数

messageVersionversion
MessageVersion

SOAP 消息版本。

parameters
Object[]

out 参数。

result
Object

返回值。

返回

Message

已序列化的答复消息。

示例

有关完整示例,请参阅 操作格式化器和操作选择器

适用于