XpsException Constructor (String, Exception)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: