WebScriptEnablingBehavior.ApplyDispatchBehavior Method

Definition

Applies the behavior to the service endpoint.

public:
 override void ApplyDispatchBehavior(System::ServiceModel::Description::ServiceEndpoint ^ endpoint, System::ServiceModel::Dispatcher::EndpointDispatcher ^ endpointDispatcher);
public override void ApplyDispatchBehavior (System.ServiceModel.Description.ServiceEndpoint endpoint, System.ServiceModel.Dispatcher.EndpointDispatcher endpointDispatcher);
override this.ApplyDispatchBehavior : System.ServiceModel.Description.ServiceEndpoint * System.ServiceModel.Dispatcher.EndpointDispatcher -> unit
Public Overrides Sub ApplyDispatchBehavior (endpoint As ServiceEndpoint, endpointDispatcher As EndpointDispatcher)

Parameters

endpoint
ServiceEndpoint

The ServiceEndpoint that exposes the contract.

endpointDispatcher
EndpointDispatcher

The EndpointDispatcher to which the custom behavior is applied.

Remarks

Normally, this method is called by Windows Communication Foundation (WCF) automatically when the behavior is applied to an endpoint. So there is no need to call this method manually.

Applies to