LdapException 클래스

정의

LdapException 클래스는 LDAP에서 ResultCode에 포함되지 않은 오류 코드를 반환하는 경우 발생하는 예외입니다.

public ref class LdapException : System::DirectoryServices::Protocols::DirectoryException
public class LdapException : System.DirectoryServices.Protocols.DirectoryException
[System.Serializable]
public class LdapException : System.DirectoryServices.Protocols.DirectoryException
type LdapException = class
    inherit DirectoryException
    interface ISerializable
[<System.Serializable>]
type LdapException = class
    inherit DirectoryException
    interface ISerializable
Public Class LdapException
Inherits DirectoryException
상속
특성
구현

생성자

LdapException()

LdapException() 생성자는 LdapException 클래스의 인스턴스를 만듭니다.

LdapException(Int32)

LdapException(Int32) 생성자는 지정된 오류 코드를 사용하여 LdapException 클래스의 인스턴스를 만듭니다. 클라이언트에 표시되는 기본 메시지는 "Communications error with the LDAP server"입니다.

LdapException(Int32, String)

LdapException(Int32, String) 생성자는 지정된 오류 코드와 메시지를 사용하여 LdapException 클래스의 인스턴스를 만듭니다.

LdapException(Int32, String, Exception)

LdapException(Int32, String, Exception) 생성자는 지정된 오류 코드, 메시지 및 내부 예외를 사용하여 LdapException 클래스의 인스턴스를 만듭니다.

LdapException(Int32, String, String)

LdapException(Int32, String, String) 생성자는 지정된 오류 코드, 메시지 및 LDAP 서버 오류 메시지를 사용하여 LdapException 클래스의 인스턴스를 만듭니다.

LdapException(SerializationInfo, StreamingContext)

LdapException(SerializationInfo, StreamingContext) 생성자는 지정된 serialization 데이터와 스트리밍 컨텍스트를 사용하여 LdapException 클래스의 인스턴스를 만듭니다.

LdapException(String)

LdapException(String) 생성자는 지정된 메시지를 사용하여 LdapException 클래스의 인스턴스를 만듭니다.

LdapException(String, Exception)

LdapException(String, Exception) 생성자는 지정된 메시지와 내부 예외를 사용하여 LdapException 클래스의 인스턴스를 만듭니다.

속성

Data

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

(다음에서 상속됨 Exception)
ErrorCode

ErrorCode 속성에는 LDAP 오류 코드가 포함되어 있습니다.

HelpLink

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

(다음에서 상속됨 Exception)
HResult

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

(다음에서 상속됨 Exception)
InnerException

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

(다음에서 상속됨 Exception)
Message

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

(다음에서 상속됨 Exception)
PartialResults

PartialResults 속성에는 일부 결과를 포함하는 PartialResultsCollection 개체가 포함되어 있습니다.

ServerErrorMessage

ServerErrorMessage 속성에는 LDAP 서버 오류 메시지(있는 경우)를 포함하는 String이 들어 있습니다.

Source

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

(다음에서 상속됨 Exception)
StackTrace

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

(다음에서 상속됨 Exception)
TargetSite

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

(다음에서 상속됨 Exception)

메서드

Equals(Object)

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

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

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

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

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

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

GetObjectData(SerializationInfo, StreamingContext) 메서드는 매개 변수를 serialize하는 데 필요한 데이터로 SerializationInfo 개체를 채웁니다.

GetType()

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

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

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

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

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

(다음에서 상속됨 Exception)

이벤트

SerializeObjectState
사용되지 않습니다.

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

(다음에서 상속됨 Exception)

적용 대상