IntegrationExceptionEventArgs Constructor (Boolean, Exception)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initializes a new instance of the IntegrationExceptionEventArgs class.

Namespace:   System.Windows.Forms.Integration
Assembly:  WindowsFormsIntegration (in WindowsFormsIntegration.dll)

public IntegrationExceptionEventArgs(
	bool throwException,
	Exception exception
)

Parameters

throwException
Type: System.Boolean

true to raise the Exception specified by exception; otherwise, false.

exception
Type: System.Exception

The Exception to raise.

Exception Condition
ArgumentNullException

exception is null.

.NET Framework
Available since 3.0
Return to top
Show: