Export (0) Print
Expand All

EventSource Constructor (Boolean)

.NET Framework 4.5

Creates a new instance of the EventSource class and specifies whether to throw an exception when an error occurs in the underlying Windows code.

Namespace:  System.Diagnostics.Tracing
Assembly:  mscorlib (in mscorlib.dll)

protected EventSource(
	bool throwOnEventWriteErrors
)

Parameters

throwOnEventWriteErrors
Type: System.Boolean

true to throw an exception when an error occurs in the underlying Windows code; otherwise, false.

.NET Framework

Supported in: 4.6, 4.5

Supported in: Windows Phone 8.1
Show:
© 2015 Microsoft