WebScriptEnablingBehavior.ApplyDispatchBehavior Metódus

Definíció

Alkalmazza a viselkedést a szolgáltatásvégpontra.

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)

Paraméterek

endpoint
ServiceEndpoint

A ServiceEndpoint szerződést közzétenő.

endpointDispatcher
EndpointDispatcher

Az EndpointDispatcher egyéni viselkedés alkalmazásának módja.

Megjegyzések

Ezt a metódust általában a Windows kommunikációs alaprendszer (WCF) automatikusan meghívja, amikor a viselkedést egy végpontra alkalmazza. Ezért nem kell manuálisan meghívni ezt a metódust.

A következőre érvényes: