WebScriptEnablingBehavior.ApplyDispatchBehavior Método

Definición

Aplica el comportamiento al punto de conexión del servicio.

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)

Parámetros

endpoint
ServiceEndpoint

ServiceEndpoint que expone el contrato.

endpointDispatcher
EndpointDispatcher

El EndpointDispatcher al que se aplica el comportamiento personalizado.

Comentarios

Normalmente, Windows Communication Foundation (WCF) llama automáticamente a este método cuando el comportamiento se aplica a un punto de conexión. No hay, pues, ninguna necesidad de llamar manualmente a este método.

Se aplica a