This documentation is archived and is not being maintained.

ServiceBehaviorAttribute.IServiceBehavior.Validate Method

Confirms that the service description and service host are capable of supporting the behavior.

Namespace:  System.ServiceModel
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

void IServiceBehavior.Validate(
	ServiceDescription description,
	ServiceHostBase serviceHostBase
)

Parameters

description
Type: System.ServiceModel.Description.ServiceDescription

The service description.

serviceHostBase
Type: System.ServiceModel.ServiceHostBase

The service host.

Implements

IServiceBehavior.Validate(ServiceDescription, ServiceHostBase)

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0
Show: