共用方式為


WebHttpBehavior.GetReplyClientFormatter 方法

定義

取得指定之端點和服務作業在用戶端上的回覆格式器。

protected:
 virtual System::ServiceModel::Dispatcher::IClientMessageFormatter ^ GetReplyClientFormatter(System::ServiceModel::Description::OperationDescription ^ operationDescription, System::ServiceModel::Description::ServiceEndpoint ^ endpoint);
protected virtual System.ServiceModel.Dispatcher.IClientMessageFormatter GetReplyClientFormatter (System.ServiceModel.Description.OperationDescription operationDescription, System.ServiceModel.Description.ServiceEndpoint endpoint);
abstract member GetReplyClientFormatter : System.ServiceModel.Description.OperationDescription * System.ServiceModel.Description.ServiceEndpoint -> System.ServiceModel.Dispatcher.IClientMessageFormatter
override this.GetReplyClientFormatter : System.ServiceModel.Description.OperationDescription * System.ServiceModel.Description.ServiceEndpoint -> System.ServiceModel.Dispatcher.IClientMessageFormatter
Protected Overridable Function GetReplyClientFormatter (operationDescription As OperationDescription, endpoint As ServiceEndpoint) As IClientMessageFormatter

參數

operationDescription
OperationDescription

服務作業。

endpoint
ServiceEndpoint

服務端點。

傳回

對指定之作業和端點於用戶端上的回覆格式器的 IClientMessageFormatter 參考。

備註

這是衍生行為可使用的擴充點,可以用來提供本身的 IClientMessageFormatter 實作,而呼叫此實作即可將回應訊息還原序列化為服務作業的 out 參數/傳回值。

適用於