Edit

Bagikan melalui


CallbackDebugBehavior.IEndpointBehavior.ApplyDispatchBehavior Method

Definition

Implements the ApplyDispatchBehavior(ServiceEndpoint, EndpointDispatcher) to support the behavior.

 virtual void System.ServiceModel.Description.IEndpointBehavior.ApplyDispatchBehavior(System::ServiceModel::Description::ServiceEndpoint ^ serviceEndpoint, System::ServiceModel::Dispatcher::EndpointDispatcher ^ endpointDispatcher) = System::ServiceModel::Description::IEndpointBehavior::ApplyDispatchBehavior;
void IEndpointBehavior.ApplyDispatchBehavior (System.ServiceModel.Description.ServiceEndpoint serviceEndpoint, System.ServiceModel.Dispatcher.EndpointDispatcher endpointDispatcher);
abstract member System.ServiceModel.Description.IEndpointBehavior.ApplyDispatchBehavior : System.ServiceModel.Description.ServiceEndpoint * System.ServiceModel.Dispatcher.EndpointDispatcher -> unit
override this.System.ServiceModel.Description.IEndpointBehavior.ApplyDispatchBehavior : System.ServiceModel.Description.ServiceEndpoint * System.ServiceModel.Dispatcher.EndpointDispatcher -> unit
Sub ApplyDispatchBehavior (serviceEndpoint As ServiceEndpoint, endpointDispatcher As EndpointDispatcher) Implements IEndpointBehavior.ApplyDispatchBehavior

Parameters

serviceEndpoint
ServiceEndpoint

The endpoint that exposes the contract.

endpointDispatcher
EndpointDispatcher

The endpoint dispatcher to be modified or extended.

Implements

Remarks

Throws an System.InvalidOperationException; this behavior can only be used in a client application.

Applies to