WebScriptEnablingBehavior.ApplyDispatchBehavior Metoda

Definicja

Stosuje zachowanie do punktu końcowego usługi.

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)

Parametry

endpoint
ServiceEndpoint

To ServiceEndpoint ujawnia kontrakt.

endpointDispatcher
EndpointDispatcher

EndpointDispatcherDo którego stosowane jest zachowanie niestandardowe.

Uwagi

Zwykle ta metoda jest wywoływana przez Windows Communication Foundation (WCF) automatycznie, gdy zachowanie jest stosowane do punktu końcowego. Nie ma potrzeby ręcznego wywoływania tej metody.

Dotyczy