FirstChanceExceptionEventArgs(Exception) Constructor
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.
Initializes a new instance of the FirstChanceExceptionEventArgs class with a specified exception.
public:
FirstChanceExceptionEventArgs(Exception ^ exception);
public FirstChanceExceptionEventArgs (Exception exception);
new System.Runtime.ExceptionServices.FirstChanceExceptionEventArgs : Exception -> System.Runtime.ExceptionServices.FirstChanceExceptionEventArgs
Public Sub New (exception As Exception)
Parameters
- exception
- Exception
The exception that was just thrown by managed code, and that will be examined by the UnhandledException event.
Remarks
This constructor is called by the common language runtime, not by application code.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.