Model Log Level Enum
Specifies the event types to be logged to the event log.
This API supports the product infrastructure and is not intended to be used directly from your code.
public enum class ProcessModelLogLevel
public enum ProcessModelLogLevel
type ProcessModelLogLevel =
Public Enum ProcessModelLogLevel
Specifies that all process events are logged. 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.
Specifies that only unexpected shutdowns, memory-limit shutdowns, and deadlock shutdowns are logged. This is the default value.
Specifies that no events are logged. You might want to use this option for tested and deployed applications.
The following example shows how to set the ProcessModelSection.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
ProcessModelLogLevel enumeration contains the values to use when you set the ProcessModelSection.LogLevel property.
The default value is