PrintQueueException 생성자

정의

PrintQueueException 클래스의 새 인스턴스를 초기화합니다.

오버로드

Name Description
PrintQueueException()

PrintQueueException 클래스의 새 인스턴스를 초기화합니다.

PrintQueueException(String)

특정 오류 조건을 제공하는 클래스의 PrintQueueException 새 인스턴스를 초기화합니다.

PrintQueueException(SerializationInfo, StreamingContext)

특정 PrintQueueException 및 를 제공하는 클래스의 새 인스턴스를 SerializationInfo 초기화합니다StreamingContext. 이 생성자는 보호됩니다.

PrintQueueException(String, Exception)

예외의 PrintQueueException 기본 원인을 포함하여 특정 오류 조건을 제공하는 클래스의 새 인스턴스를 초기화합니다.

PrintQueueException(Int32, String, String)

특정 오류 코드, 오류 조건 및 프린터 이름을 제공하는 클래스의 PrintQueueException 새 인스턴스를 초기화합니다.

PrintQueueException(Int32, String, String, Exception)

예외의 PrintQueueException 근본 원인을 포함하여 특정 프린터 이름, 오류 코드 및 오류 조건을 제공하는 클래스의 새 인스턴스를 초기화합니다.

PrintQueueException(Int32, String, String, String)

특정 오류 코드, 오류 조건, 프린터 이름 및 프린터 메시지를 제공하는 클래스의 PrintQueueException 새 인스턴스를 초기화합니다.

PrintQueueException()

PrintQueueException 클래스의 새 인스턴스를 초기화합니다.

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

적용 대상

PrintQueueException(String)

특정 오류 조건을 제공하는 클래스의 PrintQueueException 새 인스턴스를 초기화합니다.

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

매개 변수

message
String

오류 조건을 설명하는 A String 입니다.

적용 대상

PrintQueueException(SerializationInfo, StreamingContext)

특정 PrintQueueException 및 를 제공하는 클래스의 새 인스턴스를 SerializationInfo 초기화합니다StreamingContext. 이 생성자는 보호됩니다.

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)

매개 변수

info
SerializationInfo

개체를 직렬화하거나 역직렬화하는 데 필요한 데이터입니다.

context
StreamingContext

serialize된 스트림의 원본 및 대상을 포함한 컨텍스트입니다.

적용 대상

PrintQueueException(String, Exception)

예외의 PrintQueueException 기본 원인을 포함하여 특정 오류 조건을 제공하는 클래스의 새 인스턴스를 초기화합니다.

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)

매개 변수

message
String

오류 조건을 설명하는 A String 입니다.

innerException
Exception

를 발생시킨 기본 오류 조건입니다 PrintQueueException.

적용 대상

PrintQueueException(Int32, String, String)

특정 오류 코드, 오류 조건 및 프린터 이름을 제공하는 클래스의 PrintQueueException 새 인스턴스를 초기화합니다.

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)

매개 변수

errorCode
Int32

Int32 특정 예외에 할당된 코딩된 숫자 값인 HRESULT로 해석되는 값입니다.

message
String

오류 조건을 설명하는 A String 입니다.

printerName
String

오류가 발생했을 때 액세스한 프린터의 이름입니다.

적용 대상

PrintQueueException(Int32, String, String, Exception)

예외의 PrintQueueException 근본 원인을 포함하여 특정 프린터 이름, 오류 코드 및 오류 조건을 제공하는 클래스의 새 인스턴스를 초기화합니다.

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)

매개 변수

errorCode
Int32

Int32 특정 예외에 할당된 코딩된 숫자 값인 HRESULT로 해석되는 값입니다.

message
String

오류 조건을 설명하는 A String 입니다.

printerName
String

오류가 발생했을 때 액세스한 프린터의 이름입니다.

innerException
Exception

를 발생시킨 기본 오류 조건입니다 PrintQueueException.

적용 대상

PrintQueueException(Int32, String, String, String)

특정 오류 코드, 오류 조건, 프린터 이름 및 프린터 메시지를 제공하는 클래스의 PrintQueueException 새 인스턴스를 초기화합니다.

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)

매개 변수

errorCode
Int32

Int32 특정 예외에 할당된 코딩된 숫자 값인 HRESULT로 해석되는 값입니다.

message
String

오류 조건을 설명하는 A String 입니다.

printerName
String

오류가 발생했을 때 액세스한 프린터의 이름입니다.

printerMessage
String

예외를 트리거한 프린터 드라이버 또는 관리되지 않는 인쇄 시스템 구성 요소에서 보낸 예외 메시지입니다.

적용 대상