共用方式為


MergeAbortedException Constructors

Definition

Overloads

MergeAbortedException()

Initializes a new instance of the MergeAbortedException class.

MergeAbortedException(String)

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

MergeAbortedException(String, Exception)

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

MergeAbortedException()

Initializes a new instance of the MergeAbortedException class.

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

Applies to

MergeAbortedException(String)

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

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

Parameters

message
String

The error message that explains the reason for the exception.

Applies to

MergeAbortedException(String, Exception)

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

public:
 MergeAbortedException(System::String ^ message, Exception ^ innerException);
public MergeAbortedException (string message, Exception innerException);
new Microsoft.VisualStudio.Modeling.MergeAbortedException : string * Exception -> Microsoft.VisualStudio.Modeling.MergeAbortedException
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