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

Ten ServiceEndpoint , który ujawnia kontrakt.

endpointDispatcher
EndpointDispatcher

Element EndpointDispatcher , do którego zastosowano zachowanie niestandardowe.

Uwagi

Zwykle ta metoda jest wywoływana przez program Windows Communication Foundation (WCF) automatycznie po zastosowaniu zachowania do punktu końcowego. Dlatego nie ma potrzeby ręcznego wywoływania tej metody.

Dotyczy