WizardCancelledException Constructors

Definition

Overloads

WizardCancelledException()

Initializes a new instance of the WizardCancelledException class.

WizardCancelledException(String)

Initializes a new instance of the WizardCancelledException class with the specified error message.

WizardCancelledException(SerializationInfo, StreamingContext)

Initializes a new instance of the WizardCancelledException class with serialized data.

WizardCancelledException(String, Exception)

Initializes a new instance of the WizardCancelledException class with the specified error message and a reference to the inner exception that is the cause of this exception.

WizardCancelledException()

Initializes a new instance of the WizardCancelledException class.

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

Applies to

WizardCancelledException(String)

Initializes a new instance of the WizardCancelledException class with the specified error message.

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

Parameters

message
String

Applies to

WizardCancelledException(SerializationInfo, StreamingContext)

Initializes a new instance of the WizardCancelledException class with serialized data.

protected:
 WizardCancelledException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected WizardCancelledException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.VisualStudio.TemplateWizard.WizardCancelledException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.VisualStudio.TemplateWizard.WizardCancelledException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo

The SerializationInfo that holds the serialized object data about the exception being thrown.

context
StreamingContext

The StreamingContext that contains contextual information about the source or destination.

Exceptions

The info parameter is a null reference (Nothing in Visual Basic)

The class name is a null reference (Nothing in Visual Basic) or HResult is zero (0).

Applies to

WizardCancelledException(String, Exception)

Initializes a new instance of the WizardCancelledException class with the specified error message and a reference to the inner exception that is the cause of this exception.

public:
 WizardCancelledException(System::String ^ message, Exception ^ innerException);
public WizardCancelledException (string message, Exception innerException);
new Microsoft.VisualStudio.TemplateWizard.WizardCancelledException : string * Exception -> Microsoft.VisualStudio.TemplateWizard.WizardCancelledException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String
innerException
Exception

Applies to