XpsPackagingException Constructor (String, Exception)

 

Initializes a new instance of the XpsPackagingException class that provides a specific error condition and includes the cause of the exception.

Namespace:   System.Windows.Xps
Assembly:  ReachFramework (in ReachFramework.dll)

public XpsPackagingException(
	string message,
	Exception innerException
)

Parameters

message
Type: System.String

A String that describes the error condition.

innerException
Type: System.Exception

The underlying error that caused the XpsPackagingException.

If the innerException parameter is not null, the current exception is thrown in a catch block that handles the inner exception.

.NET Framework
Available since 3.0
Return to top
Show: