Partilhar via


DirectiveProcessorException Constructors

Definition

Overloads

DirectiveProcessorException()

Constructor.

DirectiveProcessorException(String)

Constructor.

DirectiveProcessorException(SerializationInfo, StreamingContext)
Obsolete.

Serialization constructor.

DirectiveProcessorException(String, Exception)

Constructor.

DirectiveProcessorException()

Constructor.

public:
 DirectiveProcessorException();
public:
 DirectiveProcessorException();
 DirectiveProcessorException();
public DirectiveProcessorException ();
Public Sub New ()

Applies to

DirectiveProcessorException(String)

Constructor.

public:
 DirectiveProcessorException(System::String ^ message);
public:
 DirectiveProcessorException(Platform::String ^ message);
 DirectiveProcessorException(std::wstring const & message);
public DirectiveProcessorException (string message);
new Microsoft.VisualStudio.TextTemplating.DirectiveProcessorException : string -> Microsoft.VisualStudio.TextTemplating.DirectiveProcessorException
Public Sub New (message As String)

Parameters

message
String

Exception message text.

Applies to

DirectiveProcessorException(SerializationInfo, StreamingContext)

Caution

This API is now deprecated.

Serialization constructor.

protected:
 DirectiveProcessorException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected DirectiveProcessorException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
[System.Obsolete]
protected DirectiveProcessorException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.VisualStudio.TextTemplating.DirectiveProcessorException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.VisualStudio.TextTemplating.DirectiveProcessorException
[<System.Obsolete>]
new Microsoft.VisualStudio.TextTemplating.DirectiveProcessorException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.VisualStudio.TextTemplating.DirectiveProcessorException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

Attributes

Applies to

DirectiveProcessorException(String, Exception)

Constructor.

public:
 DirectiveProcessorException(System::String ^ message, Exception ^ inner);
public DirectiveProcessorException (string message, Exception inner);
new Microsoft.VisualStudio.TextTemplating.DirectiveProcessorException : string * Exception -> Microsoft.VisualStudio.TextTemplating.DirectiveProcessorException
Public Sub New (message As String, inner As Exception)

Parameters

message
String

Exception message text.

inner
Exception

Inner exception.

Applies to