IDispatchMessageFormatter.SerializeReply 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
从指定的消息版本、参数数组和返回值序列化答复消息。
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
返回值。
返回
已序列化的答复消息。
示例
有关完整示例,请参阅 操作格式化器和操作选择器。