WebScriptEnablingBehavior.ApplyDispatchBehavior Metod

Definition

Tillämpar beteendet på tjänstslutpunkten.

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)

Parametrar

endpoint
ServiceEndpoint

Det ServiceEndpoint som exponerar kontraktet.

endpointDispatcher
EndpointDispatcher

Det EndpointDispatcher anpassade beteendet tillämpas på.

Kommentarer

Normalt anropas den här metoden av Windows Communication Foundation (WCF) automatiskt när beteendet tillämpas på en slutpunkt. Därför behöver du inte anropa den här metoden manuellt.

Gäller för