The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
EventSource::ConstructionException Property
.NET Framework (current version)
[Supported in the .NET Framework 4.5.1 and later versions]
Gets any exception that was thrown during the construction of the event source.
Assembly: mscorlib (in mscorlib.dll)
Property Value
Type: System::Exception^The exception that was thrown during the construction of the event source, or null if no exception was thrown.
EventSource constructors do not throw exceptions. Instead, any exception that is thrown is assigned to the ConstructionException property and logged by the Trace::WriteLine method.
Universal Windows Platform
Available since 8.1
.NET Framework
Available since 4.5.1
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Available since 8.1
.NET Framework
Available since 4.5.1
Portable Class Library
Supported in: portable .NET platforms
Windows Phone
Available since 8.1
Show: