Gets a value that determines whether an event log of type
EventType.Error should be written to the log file.
Syntax
Visual Basic (Declaration) | |
---|
Public Overridable ReadOnly Property LogErrors As Boolean |
C# | |
---|
public virtual bool LogErrors {get;} |
C++/CLI | |
---|
public:
virtual property bool LogErrors {
bool get();
} |
Return Value
true to write an event log; false, otherwise.
Example
Requirements
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family
See Also