This document is archived and information here might be outdated.  Recommended version.


IESRIScriptEngine.Error Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (System)  

IESRIScriptEngine.Error Property

The Error method.

[Visual Basic .NET]
Public Sub Error ( _
    ByRef pLineNumber As Integer, _
    ByRef pCharacterPosition As Integer, _
    ByRef pErrorSourceCode As String, _
    ByRef pErrorDescription As String _
)
[C#]
public void Error (
    ref int pLineNumber,
    ref int pCharacterPosition,
    ref string pErrorSourceCode,
    ref string pErrorDescription
);
[C++]
HRESULT get_Error(
  long* pLineNumber,
  long* pCharacterPosition,
  BSTR* pErrorSourceCode,
  BSTR* pErrorDescription
);
[C++]

Parameters pLineNumber [in] pLineNumber is a parameter of type long pCharacterPosition [in] pCharacterPosition is a parameter of type long pErrorSourceCode [in] pErrorSourceCode is a parameter of type BSTR pErrorDescription [in] pErrorDescription is a parameter of type BSTR

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IESRIScriptEngine Interface