System.Windows.Forms.DataGridViewDataErrorEventArgs.ThrowException Property

Gets or sets a value indicating whether to throw the exception after the System.Windows.Forms.DataGridViewDataErrorEventHandler delegate is finished with it.

Syntax

public bool ThrowException { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Set this property to false if the System.Windows.Forms.DataGridViewDataErrorEventHandler has dealt with the exception represented by the DataGridViewDataErrorEventArgs.Exception property, and you do not want to propagate the exception to another System.Windows.Forms.DataGridViewDataErrorEventHandler that may handle the DataGridView.DataError event.

For debugging purposes, it can be useful to propagate the exception and inspect the stack trace for information regarding the context of the error.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0