WebHttpBehavior.ApplyDispatchBehavior Metod
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Implementerar ApplyDispatchBehavior(ServiceEndpoint, EndpointDispatcher) metoden för att stödja ändring eller tillägg av klienten över en slutpunkt.
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)
Parametrar
- endpoint
- ServiceEndpoint
Slutpunkten som exponerar kontraktet.
- endpointDispatcher
- EndpointDispatcher
Slutpunktsutskickaren som beteendet tillämpas på.
Implementeringar
Kommentarer
Som en del av den här metoden GetRequestDispatchFormatter(OperationDescription, ServiceEndpoint) och GetReplyDispatchFormatter(OperationDescription, ServiceEndpoint) anropas för varje åtgärd för att fastställa installationen IDispatchMessageFormatter .