Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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
[C#]
string SourceMoniker {get;}
[C++]
__property String* get_SourceMoniker();
[JScript]
function get SourceMoniker() : String;

Property Value

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

Remarks

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.

Requirements

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

Show:
© 2015 Microsoft