Bagikan melalui


DurableServiceAttribute.ApplyDispatchBehavior Metode

Definisi

Menyesuaikan runtime layanan untuk mendukung properti perilaku layanan yang tahan lama, seperti menentukan PersistenceProvider untuk layanan.

public:
 virtual void ApplyDispatchBehavior(System::ServiceModel::Description::ServiceDescription ^ serviceDescription, System::ServiceModel::ServiceHostBase ^ serviceHostBase);
public void ApplyDispatchBehavior (System.ServiceModel.Description.ServiceDescription serviceDescription, System.ServiceModel.ServiceHostBase serviceHostBase);
abstract member ApplyDispatchBehavior : System.ServiceModel.Description.ServiceDescription * System.ServiceModel.ServiceHostBase -> unit
override this.ApplyDispatchBehavior : System.ServiceModel.Description.ServiceDescription * System.ServiceModel.ServiceHostBase -> unit
Public Sub ApplyDispatchBehavior (serviceDescription As ServiceDescription, serviceHostBase As ServiceHostBase)

Parameter

serviceDescription
ServiceDescription

Deskripsi layanan.

serviceHostBase
ServiceHostBase

Host layanan.

Penerapan

Berlaku untuk