WebHttpBehavior.GetOperationSelector(ServiceEndpoint) 方法

定義

建立新的 WebHttpDispatchOperationSelector 物件。

protected:
 virtual System::ServiceModel::Dispatcher::WebHttpDispatchOperationSelector ^ GetOperationSelector(System::ServiceModel::Description::ServiceEndpoint ^ endpoint);
protected virtual System.ServiceModel.Dispatcher.WebHttpDispatchOperationSelector GetOperationSelector (System.ServiceModel.Description.ServiceEndpoint endpoint);
abstract member GetOperationSelector : System.ServiceModel.Description.ServiceEndpoint -> System.ServiceModel.Dispatcher.WebHttpDispatchOperationSelector
override this.GetOperationSelector : System.ServiceModel.Description.ServiceEndpoint -> System.ServiceModel.Dispatcher.WebHttpDispatchOperationSelector
Protected Overridable Function GetOperationSelector (endpoint As ServiceEndpoint) As WebHttpDispatchOperationSelector

參數

endpoint
ServiceEndpoint

公開合約的端點。

傳回

WebHttpDispatchOperationSelector 的執行個體,其中包含指定之端點的作業選取器。

備註

WebHttpDispatchOperationSelector 根據統一資源識別元 (URI) 尾碼和使用的 HTTP 方法,對應 WCF 服務作業的呼叫。 這是衍生行為可使用的擴充點,可以用來提供本身的 WebHttpDispatchOperationSelector 實作,而該實作會將傳入 HTTP 要求對應至服務作業。

適用於