WebHttpBehavior.ApplyDispatchBehavior Yöntem

Tanım

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

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 kullanıma sunan uç nokta.

endpointDispatcher
EndpointDispatcher

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

Uygulamalar

Açıklamalar

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

Şunlara uygulanır