Visual Basic (Declaration) | |
---|---|
Public Function New( _ ByVal errorCode As Integer, _ ByVal errorText As String _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim errorCode As Integer Dim errorText As String Dim instance As New ErrorEventArgs(errorCode, errorText) |
Parameters
- errorCode
- Error code for the event
- errorText
- Error string for the event
csharp | Copy Code |
---|---|
private void control_UserError(object sender, FarPoint.Win.Input.ErrorEventArgs e) { Messagebox.Show(Convert.ToString(e.ErrorCode) + e.ErrorInfo); } |
Visual Basic | Copy Code |
---|---|
Private Sub control_UserError(ByVal sender As Object, ByVal e As FarPoint.Win.Input.ErrorEventArgs) Handles control.UserError Messagebox.Show(e.ErrorCode + e.ErrorInfo); End Sub |
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8