EventLogConfiguration.ProviderLevel Property

Definition

Gets or sets the maximum event level (which defines the severity of the event) that is allowed to be logged in the event log. This value is defined by the event provider.

public:
 property Nullable<int> ProviderLevel { Nullable<int> get(); void set(Nullable<int> value); };
public int? ProviderLevel { get; set; }
member this.ProviderLevel : Nullable<int> with get, set
Public Property ProviderLevel As Nullable(Of Integer)

Property Value

The maximum event level that is allowed to be logged in the event log, or null if the maximum event level was not defined in the event provider.

Remarks

If the value of this property is changed, call the SaveChanges method to save the changes.

Applies to

See also