DataGridViewDataErrorEventArgs Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the DataGridViewDataErrorEventArgs class.
public:
DataGridViewDataErrorEventArgs(Exception ^ exception, int columnIndex, int rowIndex, System::Windows::Forms::DataGridViewDataErrorContexts context);
public DataGridViewDataErrorEventArgs (Exception exception, int columnIndex, int rowIndex, System.Windows.Forms.DataGridViewDataErrorContexts context);
public DataGridViewDataErrorEventArgs (Exception? exception, int columnIndex, int rowIndex, System.Windows.Forms.DataGridViewDataErrorContexts context);
new System.Windows.Forms.DataGridViewDataErrorEventArgs : Exception * int * int * System.Windows.Forms.DataGridViewDataErrorContexts -> System.Windows.Forms.DataGridViewDataErrorEventArgs
Public Sub New (exception As Exception, columnIndex As Integer, rowIndex As Integer, context As DataGridViewDataErrorContexts)
Parameters
- exception
- Exception
The exception that occurred.
- context
- DataGridViewDataErrorContexts
A bitwise combination of DataGridViewDataErrorContexts values indicating the context in which the error occurred.
Applies to
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.