Gets the source of the syntax or execution error.
Namespace: WinWrap.Basic.ServerAssembly: WinWrap.Basic.Server (in WinWrap.Basic.Server.dll)
Syntaxpublic string Source { get; }
Public ReadOnly Property Source As String
Get
public:
virtual property String^ Source {
String^ get () sealed;
}
Property Value
String
The source of the syntax or execution error.
Implements
IErrorSource
Remarks
This property works in conjunction with the other error properties to
allow your application access to the exact source
of a WinWrap Basic syntax or execution error.
Example
Display the error source during the ErrorAlert event:
private void basicIdeCtl1_ErrorAlert(object sender, System.EventArgs e)
{
MessageBox.Show("Error.Source = " + basicIdeCtl1.Error.Source);
}
Private Sub BasicIdeCtl1_ErrorAlert ( ByVal sender As Object, ByVal e As System.EventArgs)
MessageBox.Show("Error.Source = " & BasicIdeCtl1.Error.Source)
End Sub
private: System::Void basicIdeCtl1_ErrorAlert(System::Object ^ sender, System::EventArgs ^ e)
{
MsgBox::Show(L"Error->Source = " + basicIdeCtl1->Error->Source);
}
See Also