ServiceHealthBehaviorBase.IServiceBehavior.Validate Method

Definition

Inspects the service host and the service description to confirm that the service can run successfully.

C#
void IServiceBehavior.Validate(System.ServiceModel.Description.ServiceDescription description, System.ServiceModel.ServiceHostBase serviceHostBase);

Parameters

description
ServiceDescription

The service description.

serviceHostBase
ServiceHostBase

The service host to validate.

Implements

Exceptions

There is a duplicate behavior.

Applies to

Produit Versions
.NET Framework 4.8, 4.8.1