Partager via


LoggingSettings.TracingEnabled 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.

Enable or disable trace logging.

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

Syntax

'Declaration
<ConfigurationPropertyAttribute("tracingEnabled")> _
PublicPropertyTracingEnabledAs Boolean
[ConfigurationPropertyAttribute("tracingEnabled")]
public bool TracingEnabled { get; set; }
[ConfigurationPropertyAttribute(L"tracingEnabled")]
public:
property bool TracingEnabled {
    bool get ();
    voidset (bool value);
}
publicfunction getTracingEnabled () : boolean
publicfunction setTracingEnabled (value : boolean)

See Also

LoggingSettings Class

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