Partager via


ServiceHealthBehaviorBase.IServiceBehavior.Validate Méthode

Définition

Inspecte l'hôte et la description du service pour confirmer que le service peut s'exécuter correctement.

 virtual void System.ServiceModel.Description.IServiceBehavior.Validate(System::ServiceModel::Description::ServiceDescription ^ description, System::ServiceModel::ServiceHostBase ^ serviceHostBase) = System::ServiceModel::Description::IServiceBehavior::Validate;
void IServiceBehavior.Validate (System.ServiceModel.Description.ServiceDescription description, System.ServiceModel.ServiceHostBase serviceHostBase);
abstract member System.ServiceModel.Description.IServiceBehavior.Validate : System.ServiceModel.Description.ServiceDescription * System.ServiceModel.ServiceHostBase -> unit
override this.System.ServiceModel.Description.IServiceBehavior.Validate : System.ServiceModel.Description.ServiceDescription * System.ServiceModel.ServiceHostBase -> unit
Sub Validate (description As ServiceDescription, serviceHostBase As ServiceHostBase) Implements IServiceBehavior.Validate

Paramètres

description
ServiceDescription

Description du service.

serviceHostBase
ServiceHostBase

Hôte de service à valider.

Implémente

Exceptions

Il existe un comportement dupliqué.

S’applique à