Partilhar via


ValidationBehaviorAttribute Class

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Indicates that an implementation service class will use message validation constraints.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Validation.Integration.WCF
Assembly:  Microsoft.Practices.EnterpriseLibrary.Validation.Integration.WCF (in Microsoft.Practices.EnterpriseLibrary.Validation.Integration.WCF.dll)

Syntax

'Declaration
<AttributeUsageAttribute(AttributeTargets.Class Or AttributeTargets.Interface, Inherited := False,  _
    AllowMultiple := False)> _
PublicClassValidationBehaviorAttribute _
    Inherits Attribute _
    Implements IEndpointBehavior, IContractBehavior
[AttributeUsageAttribute(AttributeTargets.Class|AttributeTargets.Interface, Inherited = false, 
    AllowMultiple = false)]
publicclassValidationBehaviorAttribute : Attribute, 
    IEndpointBehavior, IContractBehavior
[AttributeUsageAttribute(AttributeTargets::Class|AttributeTargets::Interface, Inherited = false, 
    AllowMultiple = false)]
publicref classValidationBehaviorAttribute : public Attribute, 
    IEndpointBehavior, IContractBehavior
publicclass ValidationBehaviorAttribute extends Attribute implements IEndpointBehavior, IContractBehavior

Inheritance Hierarchy

System.Object
  System.Attribute
    Microsoft.Practices.EnterpriseLibrary.Validation.Integration.WCF.ValidationBehaviorAttribute

See Also

ValidationBehaviorAttribute Members

Microsoft.Practices.EnterpriseLibrary.Validation.Integration.WCF Namespace

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.