Partilhar via


ValidationBehavior.Enabled Property

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.

Gets or sets a value indicating whether this ValidationBehavior is enabled.

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

Syntax

'Declaration
PublicPropertyEnabledAs Boolean
public bool Enabled { get; set; }
public:
property bool Enabled {
    bool get ();
    voidset (bool value);
}
publicfunction getEnabled () : boolean
publicfunction setEnabled (value : boolean)

Field Value

true if enabled; otherwise, false. The dafault value is true.

See Also

ValidationBehavior Class

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.