Gets a value that determines whether an event log of type
EventType.Warning should be written to the log file.
Syntax
Visual Basic (Declaration) | |
---|
Public Overridable ReadOnly Property LogWarnings As Boolean |
C# | |
---|
public virtual bool LogWarnings {get;} |
C++/CLI | |
---|
public:
virtual property bool LogWarnings {
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