Condividi tramite


ClientViaBehavior.IEndpointBehavior.ApplyDispatchBehavior Metodo

Definizione

Implementa una modifica o un'estensione del servizio all'interno di un endpoint.

 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

Parametri

serviceEndpoint
ServiceEndpoint

Endpoint del servizio che espone il contratto.

endpointDispatcher
EndpointDispatcher

Dispatcher dell'endpoint da modificare.

Implementazioni

Commenti

Genera InvalidOperationException perché questa operazione non deve essere eseguita sul lato client.

Si applica a