WebHttpBehavior.ApplyDispatchBehavior Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Implementa il ApplyDispatchBehavior(ServiceEndpoint, EndpointDispatcher) metodo per supportare la modifica o l'estensione del client in 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 endpoint a cui viene applicato il comportamento.
Implementazioni
Commenti
Come parte di questo metodo e GetRequestDispatchFormatter(OperationDescription, ServiceEndpoint)GetReplyDispatchFormatter(OperationDescription, ServiceEndpoint) vengono chiamati per ogni operazione per determinare l'oggetto IDispatchMessageFormatter da installare.