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) при применении поведения к конечной точке. Поэтому не нужно вызывать этот метод вручную.

Применяется к