Aracılığıyla paylaş


WebHttpBehavior.ApplyDispatchBehavior Yöntem

Tanım

bir uç ApplyDispatchBehavior(ServiceEndpoint, EndpointDispatcher) nokta genelinde istemcinin değiştirilmesini veya uzantısını desteklemek için yöntemini kullanır.

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)

Parametreler

endpoint
ServiceEndpoint

Sözleşmeyi ortaya çıkaran uç nokta.

endpointDispatcher
EndpointDispatcher

Davranışın uygulandığı uç nokta dağıtıcısı.

Uygulamalar

Açıklamalar

Bu yöntemin bir parçası olarak GetRequestDispatchFormatter(OperationDescription, ServiceEndpoint) GetReplyDispatchFormatter(OperationDescription, ServiceEndpoint) ve , yüklerini belirlemek için her işlem için IDispatchMessageFormatter çağrılır.

Şunlara uygulanır