Share via


WebHttpBehavior.GetRequestDispatchFormatter 메서드

정의

지정된 서비스 작업 및 서비스 엔드포인트에 대한 서비스의 요청 포맷터를 가져옵니다.

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

매개 변수

operationDescription
OperationDescription

서비스 작업입니다.

endpoint
ServiceEndpoint

서비스 엔드포인트입니다.

반환

IDispatchMessageFormatter

지정된 작업 및 엔드포인트에 대해 서비스의 요청 포맷터에 대한 IDispatchMessageFormatter 참조입니다.

설명

이는 서비스 작업의 입력 매개 변수를 요청 메시지로부터 역직렬화하도록 호출되는 자체 IDispatchMessageFormatter 구현을 제공하기 위해 파생 동작에서 사용할 수 있는 확장 지점입니다. 서비스 작업의 UriTemplate에 지정된 매개 변수는 요청 메시지의 To URI로부터 역직렬화되어야 하고, 다른 매개 변수는 요청 메시지의 본문으로부터 역직렬화되어야 합니다.

적용 대상