XpsWriterException Konstruktory

Definicja

Inicjuje nowe wystąpienie klasy XpsWriterException.

Przeciążenia

XpsWriterException()

Inicjuje nowe wystąpienie klasy XpsWriterException.

XpsWriterException(String)

Inicjuje XpsWriterException nowe wystąpienie klasy, które zapewnia określony warunek błędu.

XpsWriterException(SerializationInfo, StreamingContext)

Inicjuje XpsWriterException nowe wystąpienie klasy, które udostępnia określone elementy SerializationInfo i StreamingContext. Ten konstruktor jest chroniony.

XpsWriterException(String, Exception)

Inicjuje nowe wystąpienie XpsWriterException klasy, które zapewnia określony warunek błędu i uwzględnia przyczynę wyjątku.

XpsWriterException()

Inicjuje nowe wystąpienie klasy XpsWriterException.

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

Dotyczy

XpsWriterException(String)

Inicjuje XpsWriterException nowe wystąpienie klasy, które zapewnia określony warunek błędu.

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)

Parametry

message
String

Element String opisujący warunek błędu.

Dotyczy

XpsWriterException(SerializationInfo, StreamingContext)

Inicjuje XpsWriterException nowe wystąpienie klasy, które udostępnia określone elementy SerializationInfo i StreamingContext. Ten konstruktor jest chroniony.

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)

Parametry

info
SerializationInfo

Dane wymagane do serializacji lub deserializacji obiektu.

context
StreamingContext

Kontekst, który obejmuje źródło i miejsce docelowe serializowanego strumienia.

Dotyczy

XpsWriterException(String, Exception)

Inicjuje nowe wystąpienie XpsWriterException klasy, które zapewnia określony warunek błędu i uwzględnia przyczynę wyjątku.

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)

Parametry

message
String

Element String opisujący warunek błędu.

innerException
Exception

Podstawowy błąd, który spowodował XpsWriterExceptionbłąd .

Dotyczy