This documentation is archived and is not being maintained.

IVsaError.SourceMoniker Property

Gets the fully qualified name of the source item that contained the error, in a format recognizable by the script engine.

[Visual Basic]
ReadOnly Property SourceMoniker As String
string SourceMoniker {get;}
__property String* get_SourceMoniker();
function get SourceMoniker() : String;

Property Value

Returns the fully qualified name of the source item that contained the error.


The SourceMoniker property uniquely defines the item, but may not map to an IVsaItem object. For example, an IVsaItem object added to the script engine may reference an external file, and this file might have a SourceMoniker property that is its full path name, but it will not map to any item added to the script engine.

The following table shows the exception that the SourceMoniker property can throw.

Exception Type Condition
EngineClosed The IVsaEngine.Close method has been called and the engine is closed.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

IVsaError Interface | IVsaError Members | Microsoft.Vsa Namespace | IVsaItem