Udostępnij za pośrednictwem


ConfigurationChangingEventArgs.Cancel 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.

Determines if the changes should be cancled.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Common.Configuration
Assembly:  Microsoft.Practices.EnterpriseLibrary.Common (in Microsoft.Practices.EnterpriseLibrary.Common.dll)

Syntax

'Declaration
PublicPropertyCancelAs Boolean
public bool Cancel { get; set; }
public:
property bool Cancel {
    bool get ();
    voidset (bool value);
}
publicfunction getCancel () : boolean
publicfunction setCancel (value : boolean)

Field Value

truetrue (True in Visual Basic) if the changes should be cancled; otherwise, falsefalse (False in Visual Basic).

See Also

ConfigurationChangingEventArgs Class

Microsoft.Practices.EnterpriseLibrary.Common.Configuration 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.