Partilhar via


EndPrintEventArgs.Error Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets an exception that indicates what kind of error occurred during printing, if an error occurred.

Namespace:  System.Windows.Printing
Assembly:  System.Windows (in System.Windows.dll)

Syntax

'Declaration
Public ReadOnly Property Error As Exception
public Exception Error { get; }

Property Value

Type: System.Exception
An exception that indicates what kind of error occurred during printing, if an error occurred. The default is nulla null reference (Nothing in Visual Basic).

Remarks

Use the Exception.Message property to determine what kind of error occurred during the printing process.

Version Information

Silverlight

Supported in: 5, 4

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.