編輯

共用方式為


WebHttpDispatchOperationSelector Class

Definition

The operation selector that supports the Web programming model.

public ref class WebHttpDispatchOperationSelector : System::ServiceModel::Dispatcher::IDispatchOperationSelector
public class WebHttpDispatchOperationSelector : System.ServiceModel.Dispatcher.IDispatchOperationSelector
type WebHttpDispatchOperationSelector = class
    interface IDispatchOperationSelector
Public Class WebHttpDispatchOperationSelector
Implements IDispatchOperationSelector
Inheritance
WebHttpDispatchOperationSelector
Implements

Remarks

The WebHttpDispatchOperationSelector dispatches method calls based on matching the Uniform Resource Identifier (URI) to a UriTemplateTable. If multiple matches are found in the UriTemplateTable, dispatch is done by the HTTP method.

Constructors

WebHttpDispatchOperationSelector()

Initializes a new instance of the WebHttpDispatchOperationSelector.

WebHttpDispatchOperationSelector(ServiceEndpoint)

Initializes a new instance of the WebHttpDispatchOperationSelector with the specified endpoint.

Fields

HttpOperationNamePropertyName

The name of the message property on the request message that provides the name of the selected operation for the request.

HttpOperationSelectorUriMatchedPropertyName

A string used as a key for storing the value that indicates whether a call to a service operation was matched by the URI but not by the HTTP method.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
GetUriTemplate(String)

Gets the UriTemplate associated with the specified operation name.

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
SelectOperation(Message)

Selects the service operation to call.

SelectOperation(Message, Boolean)

Selects the service operation to call.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to