LayoutExceptionEventArgs Constructor (Exception)

 

Initializes a new instance of the LayoutExceptionEventArgs class.

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

public LayoutExceptionEventArgs(
	Exception exception
)

Parameters

exception
Type: System.Exception

The Exception to raise.

Exception Condition
ArgumentNullException

exception is null.

In your event handler, set the value of the ThrowException property to true to indicate that the exception should be raised.

.NET Framework
Available since 3.0
Return to top
Show: