Edit

Share via


ServiceAuthorizationBehavior.IServiceBehavior.Validate Method

Definition

Provides the ability to inspect the service host and the service description to confirm that the service can run successfully.

 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

Parameters

description
ServiceDescription

The service description.

serviceHostBase
ServiceHostBase

The service host that is currently being constructed.

Implements

Remarks

This member is an explicit interface member implementation. It can be used only when the ServiceAuthorizationBehavior instance is cast to an IServiceBehavior interface.

Applies to