Share via


WizardCancelledException Constructors

Definition

Overloads

WizardCancelledException()

Exception constructor.

WizardCancelledException(String)

Exception constructor.

WizardCancelledException(SerializationInfo, StreamingContext)

Exception constructor.

WizardCancelledException(String, Exception)

Exception constructor.

WizardCancelledException()

Exception constructor.

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

Applies to

WizardCancelledException(String)

Exception constructor.

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

The error message for the exception.

Applies to

WizardCancelledException(SerializationInfo, StreamingContext)

Exception constructor.

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

A SerializationInfo object that contains the serialized object data about the exception being thrown.

context
StreamingContext

A StreamingContext object 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)

Exception constructor.

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

The error message for the exception.

innerException
Exception

The exception that is the cause of the current exception.

Applies to