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


IESRIScriptEngine.Error Property (ArcObjects .NET 10.6 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(
  System.Int32* pLineNumber,
  System.Int32* pCharacterPosition,
  System.String* pErrorSourceCode,
  System.String* 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