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
傳回值。
傳回
已序列化的回覆訊息。
範例
如需完整範例,請參閱 操作格式器和作業選取器。