WebHttpBehavior.ApplyDispatchBehavior Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
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.