WebScriptEnablingBehavior.ApplyDispatchBehavior Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.