This topic has not yet been rated - Rate this topic

DirectiveProcessorException Class

The exception that is thrown by the text template transformation engine, if an error occurs while processing directives.

Namespace: Microsoft.VisualStudio.TextTemplating
Assembly: Microsoft.VisualStudio.TextTemplating (in microsoft.visualstudio.texttemplating.dll)

[SerializableAttribute] 
public class DirectiveProcessorException : Exception
/** @attribute SerializableAttribute() */ 
public class DirectiveProcessorException extends Exception
SerializableAttribute 
public class DirectiveProcessorException extends Exception

This class is serializable. This exception is thrown when a directive is not supported, or there is a problem with the number or type of arguments specified. This is also the type of exception that users should throw for any errors that occur in their custom directive processors.

System.Object
   System.Exception
    Microsoft.VisualStudio.TextTemplating.DirectiveProcessorException
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ