XpsSerializationException Constructor (String, Exception)


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 XpsSerializationException class that provides a specific error condition and includes the cause of the exception.

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

public XpsSerializationException(
	string message,
	Exception innerException


Type: System.String

A String that describes the error condition.

Type: System.Exception

The underlying error that caused the exception.

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

.NET Framework
Available since 3.0
Return to top