TextTransformation.Errors Property
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Gets the error collection for the text template transformation process.
Namespace: Microsoft.VisualStudio.TextTemplating
Assembly: Microsoft.VisualStudio.TextTemplating.11.0 (in Microsoft.VisualStudio.TextTemplating.11.0.dll)
Syntax
'Declaration
Public ReadOnly Property Errors As CompilerErrorCollection
public CompilerErrorCollection Errors { get; }
public:
property CompilerErrorCollection^ Errors {
CompilerErrorCollection^ get ();
}
member Errors : CompilerErrorCollection with get
function get Errors () : CompilerErrorCollection
Property Value
Type: CompilerErrorCollection
A CompilerErrorCollection that contains the errors and warnings raised during the text template transformation process.
Remarks
Errors that occur during the text template transformation process are stored in this property. The engine passes the errors to the host when it is done processing, and the host can decide how to display them. For example the host can display the errors in the UI or write them to a file. The user should not access this property directly.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.TextTemplating Namespace
Error
Warning