ArchiveException Constructor (message, innerException)

DTF API

Copy image CopyHover image
Deployment Tools Foundation ArchiveException Constructor (message, innerException)
Deployment Tools Foundation NamespacesMicrosoft.Deployment.CompressionArchiveExceptionArchiveException(String, Exception)
Creates a new ArchiveException with a specified error message and a reference to the inner exception that is the cause of this exception.
Declaration Syntax
C# Visual Basic Visual C++ F#
public ArchiveException(
	string message,
	Exception innerException
)
Public Sub New ( 
	message As String,
	innerException As Exception
)
public:
ArchiveException(
	String^ message, 
	Exception^ innerException
)
new : 
        message : string * 
        innerException : Exception -> ArchiveException
Parameters
message (String)
The message that describes the error.
innerException (Exception)
The exception that is the cause of the current exception. If the innerException parameter is not a null reference (Nothing in Visual Basic), the current exception is raised in a catch block that handles the inner exception.

Assembly: Microsoft.Deployment.Compression (Module: Microsoft.Deployment.Compression.dll) Version: 3.0.0.0 (3.11.1.2318)