WebScriptEnablingBehavior.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.
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.