Partager via


UndoRedoCanceledException Constructors

Definition

Overloads

UndoRedoCanceledException()

Initializes a new instance of the OperationCancelledException class.

UndoRedoCanceledException(String)

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

UndoRedoCanceledException(String, Exception)

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

UndoRedoCanceledException()

Initializes a new instance of the OperationCancelledException class.

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

Applies to

UndoRedoCanceledException(String)

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

public:
 UndoRedoCanceledException(System::String ^ message);
public UndoRedoCanceledException (string message);
new Microsoft.VisualStudio.Modeling.UndoRedoCanceledException : string -> Microsoft.VisualStudio.Modeling.UndoRedoCanceledException
Public Sub New (message As String)

Parameters

message
String

The error message that explains the reason for the exception.

Applies to

UndoRedoCanceledException(String, Exception)

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

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

Parameters

message
String

The error message that explains the reason for the exception.

innerException
Exception

The exception that is the cause of the current exception. If the innerException parameter is not a null reference, the current exception is raised in a catch block that handles the inner exception.

Applies to