Share via


PrintSystemException Konstruktory

Definice

Inicializuje novou instanci PrintSystemException třídy.

Přetížení

PrintSystemException()

Inicializuje novou instanci PrintSystemException třídy.

PrintSystemException(String)

Inicializuje novou instanci PrintSystemException třídy, která poskytuje konkrétní chybovou zprávu.

PrintSystemException(Int32, String)

Inicializuje novou instanci PrintSystemException třídy, která poskytuje konkrétní kód chyby a chybovou zprávu.

PrintSystemException(SerializationInfo, StreamingContext)

Inicializuje novou instanci PrintSystemException třídy, která poskytuje konkrétní serializační informace a kontext streamování.

PrintSystemException(String, Exception)

Inicializuje novou instanci PrintSystemException třídy, která poskytuje konkrétní chybovou zprávu, včetně základní příčiny výjimky.

PrintSystemException(Int32, String, Exception)

Inicializuje novou instanci PrintSystemException třídy, která poskytuje konkrétní kód chyby a chybovou zprávu, včetně základní příčiny výjimky.

PrintSystemException(Int32, String, String)

Inicializuje novou instanci PrintSystemException třídy, která poskytuje konkrétní kód chyby, chybovou zprávu a zprávu tiskárny.

PrintSystemException()

Inicializuje novou instanci PrintSystemException třídy.

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

Platí pro

PrintSystemException(String)

Inicializuje novou instanci PrintSystemException třídy, která poskytuje konkrétní chybovou zprávu.

public:
 PrintSystemException(System::String ^ message);
public PrintSystemException (string message);
new System.Printing.PrintSystemException : string -> System.Printing.PrintSystemException
Public Sub New (message As String)

Parametry

message
String

Řetězec, který popisuje chybovou podmínku.

Platí pro

PrintSystemException(Int32, String)

Inicializuje novou instanci PrintSystemException třídy, která poskytuje konkrétní kód chyby a chybovou zprávu.

public:
 PrintSystemException(int errorCode, System::String ^ message);
public PrintSystemException (int errorCode, string message);
new System.Printing.PrintSystemException : int * string -> System.Printing.PrintSystemException
Public Sub New (errorCode As Integer, message As String)

Parametry

errorCode
Int32

Objekt Int32 , který je interpretován jako HRESULT, kódovaná číselná hodnota, která je přiřazena ke konkrétní výjimce.

message
String

Řetězec, který popisuje chybovou podmínku.

Platí pro

PrintSystemException(SerializationInfo, StreamingContext)

Inicializuje novou instanci PrintSystemException třídy, která poskytuje konkrétní serializační informace a kontext streamování.

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

Parametry

info
SerializationInfo

Data potřebná k serializaci nebo deserializaci objektu.

context
StreamingContext

Kontext serializovaného datového proudu, včetně zdroje a cíle.

Platí pro

PrintSystemException(String, Exception)

Inicializuje novou instanci PrintSystemException třídy, která poskytuje konkrétní chybovou zprávu, včetně základní příčiny výjimky.

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

Parametry

message
String

Řetězec, který popisuje chybovou podmínku.

innerException
Exception

Základní chybový stav, který způsobil výjimku.

Platí pro

PrintSystemException(Int32, String, Exception)

Inicializuje novou instanci PrintSystemException třídy, která poskytuje konkrétní kód chyby a chybovou zprávu, včetně základní příčiny výjimky.

public:
 PrintSystemException(int errorCode, System::String ^ message, Exception ^ innerException);
public PrintSystemException (int errorCode, string message, Exception innerException);
new System.Printing.PrintSystemException : int * string * Exception -> System.Printing.PrintSystemException
Public Sub New (errorCode As Integer, message As String, innerException As Exception)

Parametry

errorCode
Int32

Objekt Int32 , který je interpretován jako HRESULT, kódovaná číselná hodnota, která je přiřazena ke konkrétní výjimce.

message
String

Řetězec, který popisuje chybovou podmínku.

innerException
Exception

Základní chybový stav, který způsobil výjimku.

Platí pro

PrintSystemException(Int32, String, String)

Inicializuje novou instanci PrintSystemException třídy, která poskytuje konkrétní kód chyby, chybovou zprávu a zprávu tiskárny.

public:
 PrintSystemException(int errorCode, System::String ^ message, System::String ^ printerMessage);
public PrintSystemException (int errorCode, string message, string printerMessage);
new System.Printing.PrintSystemException : int * string * string -> System.Printing.PrintSystemException
Public Sub New (errorCode As Integer, message As String, printerMessage As String)

Parametry

errorCode
Int32

Objekt Int32 , který je interpretován jako HRESULT, kódovaná číselná hodnota, která je přiřazena ke konkrétní výjimce.

message
String

Řetězec, který popisuje chybovou podmínku.

printerMessage
String

Zpráva o výjimce odeslaná ovladačem tiskárny nebo nespravovanou součástí tiskového systému, která výjimku způsobila.

Platí pro