Επεξεργασία

Κοινή χρήση μέσω


LayoutExceptionEventArgs Class

Definition

Provides data for the LayoutError event.

public ref class LayoutExceptionEventArgs : System::Windows::Forms::Integration::IntegrationExceptionEventArgs
public class LayoutExceptionEventArgs : System.Windows.Forms.Integration.IntegrationExceptionEventArgs
type LayoutExceptionEventArgs = class
    inherit IntegrationExceptionEventArgs
Public Class LayoutExceptionEventArgs
Inherits IntegrationExceptionEventArgs
Inheritance

Remarks

The IntegrationExceptionEventArgs class enables the user to preview a layout-related exception before it is raised.

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

Constructors

LayoutExceptionEventArgs(Exception)

Initializes a new instance of the LayoutExceptionEventArgs class.

Properties

Exception

Gets the Exception associated with this IntegrationExceptionEventArgs.

(Inherited from IntegrationExceptionEventArgs)
ThrowException

Gets or sets a value indicating whether to raise the Exception specified by the Exception property.

(Inherited from IntegrationExceptionEventArgs)

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also