OpenXmlPackageException Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
OpenXmlPackageException() |
Initializes a new instance of the OpenXmlPackageException class. |
OpenXmlPackageException(String) |
Initializes a new instance of the OpenXmlPackageException class using the supplied error message. |
OpenXmlPackageException(String, Exception) |
Initializes a new instance of the OpenXmlPackageException class using the supplied error message and a reference to the inner exception that caused the current exception. |
OpenXmlPackageException()
Initializes a new instance of the OpenXmlPackageException class.
public OpenXmlPackageException ();
Public Sub New ()
Applies to
OpenXmlPackageException(String)
Initializes a new instance of the OpenXmlPackageException class using the supplied error message.
public OpenXmlPackageException (string message);
new DocumentFormat.OpenXml.Packaging.OpenXmlPackageException : string -> DocumentFormat.OpenXml.Packaging.OpenXmlPackageException
Public Sub New (message As String)
Parameters
- message
- String
The message that describes the error.
Applies to
OpenXmlPackageException(String, Exception)
Initializes a new instance of the OpenXmlPackageException class using the supplied error message and a reference to the inner exception that caused the current exception.
public OpenXmlPackageException (string message, Exception innerException);
new DocumentFormat.OpenXml.Packaging.OpenXmlPackageException : string * Exception -> DocumentFormat.OpenXml.Packaging.OpenXmlPackageException
Public Sub New (message As String, innerException As Exception)
Parameters
- message
- String
The error message that indicates 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
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin