ProcessModelLogLevel Enumeration

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

This API supports the product infrastructure and is not intended to be used directly from your code.

Specifies the event types to be logged to the event log.

Namespace:   System.Web.Configuration
Assembly:  System.Web (in System.Web.dll)

public enum ProcessModelLogLevel

Member nameDescription
All

This API supports the product infrastructure and is not intended to be used directly from your code. Specifies that all process events are logged. This field is constant.

Errors

This API supports the product infrastructure and is not intended to be used directly from your code. Specifies that only unexpected shutdowns, memory-limit shutdowns, and deadlock shutdowns are logged. This field is constant.

None

This API supports the product infrastructure and is not intended to be used directly from your code. Specifies that no events are logged. This field is constant.

The ProcessModelLogLevel enumeration contains the values to use when you set 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;

.NET Framework
Available since 2.0
Return to top
Show: