Redigera

Dela via


FirstChanceExceptionEventArgs(Exception) Constructor

Definition

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