WebScriptEnablingBehavior.ApplyDispatchBehavior Yöntem

Tanım

Davranışı hizmet uç noktasına uygular.

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)

Parametreler

endpoint
ServiceEndpoint

Sözleşmeyi ServiceEndpoint açığa çıkaran.

endpointDispatcher
EndpointDispatcher

EndpointDispatcher Özel davranışın uygulandığı.

Açıklamalar

Normalde, davranış bir uç noktaya uygulandığında bu yöntem Windows Communication Foundation (WCF) tarafından otomatik olarak çağrılır. Bu nedenle bu yöntemi el ile çağırmanız gerekmez.

Şunlara uygulanır