System.Web.Configuration Namespace
.NET Framework version 2.0
Specifies the level of authentication for DCOM security.
Member |
Description |
All |
Specifies that all process events are logged. This field is constant.
Use this option when you want to explore the possible errors an application might issue, without any filtering. This option is useful during the building and debugging phase. |
Errors |
Specifies that only unexpected shutdowns, memory-limit shutdowns, and deadlock shutdowns are logged. This field is constant.
This is the default value. |
None |
Specifies that no events are logged. This field is constant.
You might want to use this option for tested and deployed applications. |
The ProcessModelLogLevel enumeration contains the values to use when setting the LogLevel property.
The default value is Errors.
The following code example shows how to set the LogLevel property.
// Get the current LogLevel property value
ProcessModelLogLevel comLogLevel = processModelSection.LogLevel;
// Set the LogLevel property to ProcessModelLogLevel.All
processModelSection.LogLevel = ProcessModelLogLevel.All;
' Get the current LogLevel property value
Dim comLogLevel As ProcessModelLogLevel = processModelSection.LogLevel
' Set the LogLevel property to ProcessModelLogLevel.All
processModelSection.LogLevel = ProcessModelLogLevel.All
|
|
C# |
VB |
ProcessModelSection Class