Condividi tramite


WebHttpBehavior.ApplyDispatchBehavior Metodo

Definizione

Implementa il metodo ApplyDispatchBehavior(ServiceEndpoint, EndpointDispatcher) per supportare una modifica o un'estensione del client all'interno di un endpoint.

public:
 virtual void ApplyDispatchBehavior(System::ServiceModel::Description::ServiceEndpoint ^ endpoint, System::ServiceModel::Dispatcher::EndpointDispatcher ^ endpointDispatcher);
public virtual void ApplyDispatchBehavior (System.ServiceModel.Description.ServiceEndpoint endpoint, System.ServiceModel.Dispatcher.EndpointDispatcher endpointDispatcher);
abstract member ApplyDispatchBehavior : System.ServiceModel.Description.ServiceEndpoint * System.ServiceModel.Dispatcher.EndpointDispatcher -> unit
override this.ApplyDispatchBehavior : System.ServiceModel.Description.ServiceEndpoint * System.ServiceModel.Dispatcher.EndpointDispatcher -> unit
Public Overridable Sub ApplyDispatchBehavior (endpoint As ServiceEndpoint, endpointDispatcher As EndpointDispatcher)

Parametri

endpoint
ServiceEndpoint

Endpoint che espone il contratto.

endpointDispatcher
EndpointDispatcher

Dispatcher dell'endpoint al quale è applicato il comportamento.

Implementazioni

Commenti

In questo metodo GetRequestDispatchFormatter(OperationDescription, ServiceEndpoint) e GetReplyDispatchFormatter(OperationDescription, ServiceEndpoint) vengono chiamati per ogni operazione per determinare l'oggetto IDispatchMessageFormatter da installare.

Si applica a