XpsWriterException XpsWriterException XpsWriterException XpsWriterException Constructors

Definition

Overloads

XpsWriterException() XpsWriterException() XpsWriterException()

Initializes a new instance of the XpsWriterException class.

XpsWriterException(String) XpsWriterException(String) XpsWriterException(String) XpsWriterException(String)

Initializes a new instance of the XpsWriterException class that provides a specific error condition.

XpsWriterException(SerializationInfo, StreamingContext) XpsWriterException(SerializationInfo, StreamingContext) XpsWriterException(SerializationInfo, StreamingContext) XpsWriterException(SerializationInfo, StreamingContext)

Initializes a new instance of the XpsWriterException class that provides specific SerializationInfo and StreamingContext. This constructor is protected.

XpsWriterException(String, Exception) XpsWriterException(String, Exception) XpsWriterException(String, Exception) XpsWriterException(String, Exception)

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

XpsWriterException() XpsWriterException() XpsWriterException()

Initializes a new instance of the XpsWriterException class.

public:
 XpsWriterException();
public XpsWriterException ();
Public Sub New ()

XpsWriterException(String) XpsWriterException(String) XpsWriterException(String) XpsWriterException(String)

Initializes a new instance of the XpsWriterException class that provides a specific error condition.

public:
 XpsWriterException(System::String ^ message);
public XpsWriterException (string message);
new System.Windows.Xps.XpsWriterException : string -> System.Windows.Xps.XpsWriterException
Public Sub New (message As String)

Parameters

message
String String String String

A String that describes the error condition.

XpsWriterException(SerializationInfo, StreamingContext) XpsWriterException(SerializationInfo, StreamingContext) XpsWriterException(SerializationInfo, StreamingContext) XpsWriterException(SerializationInfo, StreamingContext)

Initializes a new instance of the XpsWriterException class that provides specific SerializationInfo and StreamingContext. This constructor is protected.

protected:
 XpsWriterException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected XpsWriterException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.Windows.Xps.XpsWriterException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Windows.Xps.XpsWriterException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo SerializationInfo SerializationInfo SerializationInfo

The data that is required to serialize or deserialize an object.

context
StreamingContext StreamingContext StreamingContext StreamingContext

The context, which includes source and destination, of the serialized stream.

XpsWriterException(String, Exception) XpsWriterException(String, Exception) XpsWriterException(String, Exception) XpsWriterException(String, Exception)

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

public:
 XpsWriterException(System::String ^ message, Exception ^ innerException);
public XpsWriterException (string message, Exception innerException);
new System.Windows.Xps.XpsWriterException : string * Exception -> System.Windows.Xps.XpsWriterException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String String String String

A String that describes the error condition.

innerException
Exception Exception Exception Exception

The underlying error that caused the XpsWriterException.

Applies to