Sdílet prostřednictvím


ClientViaBehavior.IEndpointBehavior.ApplyDispatchBehavior Metoda

Definice

Implementuje změnu nebo rozšíření služby v rámci koncového bodu.

 virtual void System.ServiceModel.Description.IEndpointBehavior.ApplyDispatchBehavior(System::ServiceModel::Description::ServiceEndpoint ^ serviceEndpoint, System::ServiceModel::Dispatcher::EndpointDispatcher ^ endpointDispatcher) = System::ServiceModel::Description::IEndpointBehavior::ApplyDispatchBehavior;
void IEndpointBehavior.ApplyDispatchBehavior (System.ServiceModel.Description.ServiceEndpoint serviceEndpoint, System.ServiceModel.Dispatcher.EndpointDispatcher endpointDispatcher);
abstract member System.ServiceModel.Description.IEndpointBehavior.ApplyDispatchBehavior : System.ServiceModel.Description.ServiceEndpoint * System.ServiceModel.Dispatcher.EndpointDispatcher -> unit
override this.System.ServiceModel.Description.IEndpointBehavior.ApplyDispatchBehavior : System.ServiceModel.Description.ServiceEndpoint * System.ServiceModel.Dispatcher.EndpointDispatcher -> unit
Sub ApplyDispatchBehavior (serviceEndpoint As ServiceEndpoint, endpointDispatcher As EndpointDispatcher) Implements IEndpointBehavior.ApplyDispatchBehavior

Parametry

serviceEndpoint
ServiceEndpoint

Koncový bod služby, který zveřejňuje kontrakt.

endpointDispatcher
EndpointDispatcher

Dispečer koncového bodu, který se má změnit

Implementuje

Poznámky

Vyvolá výjimku, InvalidOperationException protože by tato operace neměla být provedena na konci klienta.

Platí pro