WebScriptEnablingBehavior.ApplyDispatchBehavior Метод
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Применяет поведение к конечной точке службы.
public:
override void ApplyDispatchBehavior(System::ServiceModel::Description::ServiceEndpoint ^ endpoint, System::ServiceModel::Dispatcher::EndpointDispatcher ^ endpointDispatcher);
public override void ApplyDispatchBehavior(System.ServiceModel.Description.ServiceEndpoint endpoint, System.ServiceModel.Dispatcher.EndpointDispatcher endpointDispatcher);
override this.ApplyDispatchBehavior : System.ServiceModel.Description.ServiceEndpoint * System.ServiceModel.Dispatcher.EndpointDispatcher -> unit
Public Overrides Sub ApplyDispatchBehavior (endpoint As ServiceEndpoint, endpointDispatcher As EndpointDispatcher)
Параметры
- endpoint
- ServiceEndpoint
Объект ServiceEndpoint , предоставляющий контракт.
- endpointDispatcher
- EndpointDispatcher
Значение EndpointDispatcher , к которому применяется настраиваемое поведение.
Комментарии
Обычно этот метод вызывается автоматически Windows Communication Foundation (WCF) при применении поведения к конечной точке. Поэтому не нужно вызывать этот метод вручную.