ErrorDescription Property |
Gets the description of the syntax or execution error.
Namespace: WinWrap.Basic.ServerAssembly: WinWrap.Basic.Server (in WinWrap.Basic.Server.dll)
Syntaxpublic string Description { get; }Public ReadOnly Property Description As String
Get
public:
virtual property String^ Description {
String^ get () sealed;
}Property Value
String
The description of the syntax or execution error.
Implements
IErrorDescription
Remarks
This string description is appropriate for displaying to the user
in a message area.
This property works in conjunction with the other error properties to
allow your application access to the exact source
and cause of a WinWrap Basic syntax or execution error.
Example
Display the error description during the ErrorAlert event:
private void basicIdeCtl1_ErrorAlert(object sender, System.EventArgs e)
{
MessageBox.Show("Error.Description = " + basicIdeCtl1.Error.Description);
}Private Sub BasicIdeCtl1_ErrorAlert ( ByVal sender As Object, ByVal e As System.EventArgs)
MessageBox.Show("Error.Description = " & BasicIdeCtl1.Error.Description)
End SubNo code example is currently available or this language may not be supported.
See Also