.NET Framework Class Library
AspNetCompatibilityRequirementsAttribute.IServiceBehavior.Validate Method
Validates the service behavior.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Syntax
Visual Basic
Private Sub Validate ( _ description As ServiceDescription, _ serviceHostBase As ServiceHostBase _ ) Implements IServiceBehavior.Validate
C#
void IServiceBehavior.Validate(
ServiceDescription description,
ServiceHostBase serviceHostBase
)
Visual C++
private: virtual void Validate( ServiceDescription^ description, ServiceHostBase^ serviceHostBase ) sealed = IServiceBehavior::Validate
F#
private abstract Validate : description:ServiceDescription * serviceHostBase:ServiceHostBase -> unit private override Validate : description:ServiceDescription * serviceHostBase:ServiceHostBase -> unit
Parameters
- description
- Type: System.ServiceModel.Description.ServiceDescription
The ServiceDescription of the service.
- serviceHostBase
- Type: System.ServiceModel.ServiceHostBase
The ServiceHostBase for hosting the service.
Implements
IServiceBehavior.Validate(ServiceDescription, ServiceHostBase)Remarks
This method supports the infrastructure and is not intended to be used directly from your code.
Version Information
.NET Framework
Supported in: 4, 3.5, 3.0.NET Framework Client Profile
Supported in: 4, 3.5 SP1Platforms
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
See Also