ProjectCollection.OnlyLogCriticalEvents Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
When true, only log critical events such as warnings and errors. Has to be in here for API compat
public:
property bool OnlyLogCriticalEvents { bool get(); void set(bool value); };
public bool OnlyLogCriticalEvents { get; set; }
public bool OnlyLogCriticalEvents { [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] get; [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] set; }
member this.OnlyLogCriticalEvents : bool with get, set
[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
[<set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
member this.OnlyLogCriticalEvents : bool with get, set
Public Property OnlyLogCriticalEvents As Boolean
Property Value
true
if only critical events such as warnings and errors are logged; otherwise, false
.
- Attributes