Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

XpsException Constructor (String^, Exception^)

 

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

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

public:
XpsException(
	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 XpsException.

If the innerException parameter is not null (Nothing in Visual Basic), the current exception is thrown in a catch block that handles the inner exception.

.NET Framework
Available since 3.0
Return to top
Show:
© 2017 Microsoft