WebHttpBehavior.ApplyDispatchBehavior Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
ApplyDispatchBehavior(ServiceEndpoint, EndpointDispatcher) Menerapkan metode untuk mendukung modifikasi atau ekstensi klien di seluruh titik akhir.
public:
virtual void ApplyDispatchBehavior(System::ServiceModel::Description::ServiceEndpoint ^ endpoint, System::ServiceModel::Dispatcher::EndpointDispatcher ^ endpointDispatcher);
public virtual void ApplyDispatchBehavior(System.ServiceModel.Description.ServiceEndpoint endpoint, System.ServiceModel.Dispatcher.EndpointDispatcher endpointDispatcher);
abstract member ApplyDispatchBehavior : System.ServiceModel.Description.ServiceEndpoint * System.ServiceModel.Dispatcher.EndpointDispatcher -> unit
override this.ApplyDispatchBehavior : System.ServiceModel.Description.ServiceEndpoint * System.ServiceModel.Dispatcher.EndpointDispatcher -> unit
Public Overridable Sub ApplyDispatchBehavior (endpoint As ServiceEndpoint, endpointDispatcher As EndpointDispatcher)
Parameter
- endpoint
- ServiceEndpoint
Titik akhir yang mengekspos kontrak.
- endpointDispatcher
- EndpointDispatcher
Dispatcher titik akhir tempat perilaku diterapkan.
Penerapan
Keterangan
Sebagai bagian dari metode ini, GetRequestDispatchFormatter(OperationDescription, ServiceEndpoint) dan GetReplyDispatchFormatter(OperationDescription, ServiceEndpoint) dipanggil untuk setiap operasi untuk menentukan IDispatchMessageFormatter untuk menginstal.