PrintServerException 클래스

정의

PrintServer를 만들거나 액세스하지 못하게 하는 오류 조건이 발생할 때 throw되는 예외입니다.

public ref class PrintServerException : System::Printing::PrintSystemException
[System.Serializable]
public class PrintServerException : System.Printing.PrintSystemException
public class PrintServerException : System.Printing.PrintSystemException
[<System.Serializable>]
type PrintServerException = class
    inherit PrintSystemException
type PrintServerException = class
    inherit PrintSystemException
Public Class PrintServerException
Inherits PrintSystemException
상속
특성

설명

주의

내에서 클래스를 System.Printing 네임 스페이스는 Windows 서비스 또는 ASP.NET 애플리케이션 또는 서비스 내에서 사용 하 여 지원 되지 않습니다. 이러한 애플리케이션 형식 중 하나에서 이러한 클래스를 사용 하는 동안 예기치 않은 문제가 발생할 수 있습니다, 그리고 감소와 같은 서비스 성능 및 런타임 예외입니다.

Windows Forms 애플리케이션에서 인쇄 하려는 경우 참조는 System.Drawing.Printing 네임 스페이스입니다.

생성자

PrintServerException()

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

PrintServerException(Int32, String, String)

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

PrintServerException(Int32, String, String, Exception)

예외의 내부 원인을 비롯하여 특정 인쇄 서버 이름, 오류 코드 및 오류 조건을 제공하는 PrintServerException 클래스의 새 인스턴스를 초기화합니다.

PrintServerException(SerializationInfo, StreamingContext)

특정 PrintServerExceptionSerializationInfo를 제공하는 StreamingContext 클래스의 새 인스턴스를 초기화합니다. 이 생성자는 보호되어 있습니다.

PrintServerException(String)

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

PrintServerException(String, Exception)

예외의 내부 원인을 비롯하여 특정 오류 조건을 제공하는 PrintServerException 클래스의 새 인스턴스를 초기화합니다.

속성

Data

예외에 대한 사용자 정의 정보를 추가로 제공하는 키/값 쌍 컬렉션을 가져옵니다.

(다음에서 상속됨 Exception)
HelpLink

이 예외와 연결된 도움말 파일에 대한 링크를 가져오거나 설정합니다.

(다음에서 상속됨 Exception)
HResult

특정 예외에 할당된 코드화된 숫자 값인 HRESULT를 가져오거나 설정합니다.

(다음에서 상속됨 Exception)
InnerException

현재 예외를 발생시킨 Exception 인스턴스를 가져옵니다.

(다음에서 상속됨 Exception)
Message

현재 예외를 설명하는 메시지를 가져옵니다.

(다음에서 상속됨 Exception)
ServerName

예외가 throw되었을 때 액세스하고 있던 인쇄 서버의 이름을 가져옵니다.

Source

오류를 발생시키는 애플리케이션 또는 개체의 이름을 가져오거나 설정합니다.

(다음에서 상속됨 Exception)
StackTrace

호출 스택의 직접 실행 프레임 문자열 표현을 가져옵니다.

(다음에서 상속됨 Exception)
TargetSite

현재 예외를 throw하는 메서드를 가져옵니다.

(다음에서 상속됨 Exception)

메서드

Equals(Object)

지정된 개체가 현재 개체와 같은지 확인합니다.

(다음에서 상속됨 Object)
GetBaseException()

파생 클래스에서 재정의된 경우 하나 이상의 후속 예외의 근본 원인이 되는 Exception 을 반환합니다.

(다음에서 상속됨 Exception)
GetHashCode()

기본 해시 함수로 작동합니다.

(다음에서 상속됨 Object)
GetObjectData(SerializationInfo, StreamingContext)

개체를 serialize하는 데 사용되는 데이터를 가져오고 serialize된 스트림의 컨텍스트를 가져옵니다.

GetType()

현재 인스턴스의 런타임 형식을 가져옵니다.

(다음에서 상속됨 Exception)
MemberwiseClone()

현재 Object의 단순 복사본을 만듭니다.

(다음에서 상속됨 Object)
ToString()

현재 예외에 대한 문자열 표현을 만들고 반환합니다.

(다음에서 상속됨 Exception)

이벤트

SerializeObjectState
사용되지 않음.

예외에 대한 serialize된 데이터가 들어 있는 예외 상태 개체가 만들어지도록 예외가 serialize될 때 발생합니다.

(다음에서 상속됨 Exception)

적용 대상