This documentation is archived and is not being maintained.

IJSVsaError Interface

Note: This API is now obsolete.

Provides access to compilation errors encountered during execution.

Namespace:  Microsoft.JScript.Vsa
Assembly:  Microsoft.JScript (in Microsoft.JScript.dll)

[ObsoleteAttribute(L"Use of this type is not recommended because it is being deprecated in Visual Studio 2005; there will be no replacement for this feature. Please see the ICodeCompiler documentation for additional help.")]
[GuidAttribute(L"425EA439-6417-4F3E-BCC9-1AFAC79E3F66")]
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsIUnknown)]
[ComVisibleAttribute(true)]
public interface class IJSVsaError

The IJSVsaError type exposes the following members.

  NameDescription
Public propertyDescriptionGets a brief description of the error, in some instances returning a reference to the token in the source code that is causing the error.
Public propertyEndColumnGets the ending column number for the source text that caused the error, if available.
Public propertyLineGets the line number on which an error occurs.
Public propertyLineTextGets the text of the source code from the line that caused the error.
Public propertyNumberGets a number that uniquely identifies the error.
Public propertySeveritySets the severity of the error.
Public propertySourceItemGets a reference to the IVsaItem object that generated the error.
Public propertySourceMonikerGets the fully qualified name of the source item that contained the error, in a format recognizable by the script engine.
Public propertyStartColumnGets the starting column number for the source text that caused the error, if available.
Top

.NET Framework

Obsolete (compiler warning) in 4

.NET Framework Client Profile

Obsolete (compiler warning) in 4

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: