共用方式為


InvalidMCContentException Constructors

Definition

Overloads

InvalidMCContentException()

Initializes a new instance of the InvalidMCContentException class.

InvalidMCContentException(String)

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

InvalidMCContentException(String, Exception)

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

InvalidMCContentException()

Initializes a new instance of the InvalidMCContentException class.

public InvalidMCContentException ();
Public Sub New ()

Applies to

InvalidMCContentException(String)

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

public InvalidMCContentException (string message);
new DocumentFormat.OpenXml.InvalidMCContentException : string -> DocumentFormat.OpenXml.InvalidMCContentException
Public Sub New (message As String)

Parameters

message
String

The message that describes the error.

Applies to

InvalidMCContentException(String, Exception)

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

public InvalidMCContentException (string message, Exception innerException);
new DocumentFormat.OpenXml.InvalidMCContentException : string * Exception -> DocumentFormat.OpenXml.InvalidMCContentException
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, or a null reference (Nothing in Visual Basic) if no inner exception is specified.

Applies to