PrintQueueException Konstruktory

Definicja

Inicjuje nowe wystąpienie klasy PrintQueueException.

Przeciążenia

PrintQueueException()

Inicjuje nowe wystąpienie klasy PrintQueueException.

PrintQueueException(String)

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

PrintQueueException(SerializationInfo, StreamingContext)

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

PrintQueueException(String, Exception)

Inicjuje PrintQueueException nowe wystąpienie klasy, które zapewnia określony warunek błędu, w tym podstawową przyczynę wyjątku.

PrintQueueException(Int32, String, String)

Inicjuje PrintQueueException nowe wystąpienie klasy, które udostępnia określony kod błędu, warunek błędu i nazwę drukarki.

PrintQueueException(Int32, String, String, Exception)

Inicjuje PrintQueueException nowe wystąpienie klasy, które udostępnia określoną nazwę drukarki, kod błędu i warunek błędu, w tym podstawową przyczynę wyjątku.

PrintQueueException(Int32, String, String, String)

Inicjuje PrintQueueException nowe wystąpienie klasy, które udostępnia określony kod błędu, warunek błędu, nazwę drukarki i komunikat drukarki.

PrintQueueException()

Inicjuje nowe wystąpienie klasy PrintQueueException.

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

Dotyczy

PrintQueueException(String)

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

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

Parametry

message
String

Element String opisujący warunek błędu.

Dotyczy

PrintQueueException(SerializationInfo, StreamingContext)

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

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

Parametry

info
SerializationInfo

Dane wymagane do serializacji lub deserializacji obiektu.

context
StreamingContext

Kontekst, w tym źródło i miejsce docelowe strumienia serializowanego.

Dotyczy

PrintQueueException(String, Exception)

Inicjuje PrintQueueException nowe wystąpienie klasy, które zapewnia określony warunek błędu, w tym podstawową przyczynę wyjątku.

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

Parametry

message
String

Element String opisujący warunek błędu.

innerException
Exception

Podstawowy warunek błędu, który spowodował PrintQueueException.

Dotyczy

PrintQueueException(Int32, String, String)

Inicjuje PrintQueueException nowe wystąpienie klasy, które udostępnia określony kod błędu, warunek błędu i nazwę drukarki.

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

Parametry

errorCode
Int32

Element Int32 , który jest interpretowany jako HRESULT, zakodowana wartość liczbowa przypisana do określonego wyjątku.

message
String

Element String opisujący warunek błędu.

printerName
String

Nazwa drukarki, która była dostępna po wystąpieniu błędu.

Dotyczy

PrintQueueException(Int32, String, String, Exception)

Inicjuje PrintQueueException nowe wystąpienie klasy, które udostępnia określoną nazwę drukarki, kod błędu i warunek błędu, w tym podstawową przyczynę wyjątku.

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

Parametry

errorCode
Int32

Element Int32 , który jest interpretowany jako HRESULT, zakodowana wartość liczbowa przypisana do określonego wyjątku.

message
String

Element String opisujący warunek błędu.

printerName
String

Nazwa drukarki, która była dostępna po wystąpieniu błędu.

innerException
Exception

Podstawowy warunek błędu, który spowodował PrintQueueException.

Dotyczy

PrintQueueException(Int32, String, String, String)

Inicjuje PrintQueueException nowe wystąpienie klasy, które udostępnia określony kod błędu, warunek błędu, nazwę drukarki i komunikat drukarki.

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

Parametry

errorCode
Int32

Element Int32 , który jest interpretowany jako HRESULT, zakodowana wartość liczbowa przypisana do określonego wyjątku.

message
String

Element String opisujący warunek błędu.

printerName
String

Nazwa drukarki, która była dostępna po wystąpieniu błędu.

printerMessage
String

Komunikat o wyjątku wysłany przez sterownik drukarki lub niezarządzany składnik systemu wydruku, który wyzwolił wyjątek.

Dotyczy