C# 클래스 Novell.Directory.Ldap.LdapReferralException

Thrown when a server returns a referral and when a referral has not been followed. It contains a list of URL strings corresponding to the referrals or search continuation references received on an Ldap operation.
상속: LdapException
파일 보기 프로젝트 열기: EventStore/csharp-ldap 1 사용 예제들

공개 메소드들

메소드 설명
LdapReferralException ( ) : System

Constructs a default exception with no specific error information.

LdapReferralException ( System message ) : System

Constructs a default exception with a specified string as additional information. This form is used for lower-level errors.

LdapReferralException ( System message, System arguments ) : System

Constructs a default exception with a specified string as additional information. This form is used for lower-level errors.

LdapReferralException ( System message, System arguments, System rootException ) : System

Constructs a default exception with a specified string as additional information and an exception that indicates a failure to follow a referral. This excepiton applies only to synchronous operations and is thrown only on receipt of a referral when the referral was not followed.

LdapReferralException ( System message, System arguments, int resultCode, System serverMessage ) : System

Constructs an exception with a specified error string, result code, and an error message from the server.

LdapReferralException ( System message, System arguments, int resultCode, System serverMessage, System rootException ) : System

Constructs an exception with a specified error string, result code, an error message from the server, and an exception that indicates a failure to follow a referral.

LdapReferralException ( System message, int resultCode, System serverMessage ) : System

Constructs an exception with a specified error string, result code, and an error message from the server.

LdapReferralException ( System message, int resultCode, System serverMessage, System rootException ) : System

Constructs an exception with a specified error string, result code, an error message from the server, and an exception that indicates a failure to follow a referral.

ToString ( ) : System.String

returns a string of information about the exception and the the nested exceptions, if any.

getReferrals ( ) : System.String[]

Gets the list of referral URLs (Ldap URLs to other servers) returned by the Ldap server. The referral list may include URLs of a type other than ones for an Ldap server (for example, a referral URL other than ldap://something).

비공개 메소드들

메소드 설명
setReferrals ( System urls ) : void

Sets the list of referrals

메소드 상세

LdapReferralException() 공개 메소드

Constructs a default exception with no specific error information.
public LdapReferralException ( ) : System
리턴 System

LdapReferralException() 공개 메소드

Constructs a default exception with a specified string as additional information. This form is used for lower-level errors.
public LdapReferralException ( System message ) : System
message System The additional error information. ///
리턴 System

LdapReferralException() 공개 메소드

Constructs a default exception with a specified string as additional information. This form is used for lower-level errors.
public LdapReferralException ( System message, System arguments ) : System
message System The additional error information. ///
arguments System The modifying arguments to be included in the /// message string. /// ///
리턴 System

LdapReferralException() 공개 메소드

Constructs a default exception with a specified string as additional information and an exception that indicates a failure to follow a referral. This excepiton applies only to synchronous operations and is thrown only on receipt of a referral when the referral was not followed.
public LdapReferralException ( System message, System arguments, System rootException ) : System
message System The additional error information. /// /// ///
arguments System The modifying arguments to be included in the /// message string. /// ///
rootException System An exception which caused referral following to fail. ///
리턴 System

LdapReferralException() 공개 메소드

Constructs an exception with a specified error string, result code, and an error message from the server.
public LdapReferralException ( System message, System arguments, int resultCode, System serverMessage ) : System
message System The additional error information. /// ///
arguments System The modifying arguments to be included in the /// message string. /// ///
resultCode int The result code returned. /// ///
serverMessage System Error message specifying additional information /// from the server. ///
리턴 System

LdapReferralException() 공개 메소드

Constructs an exception with a specified error string, result code, an error message from the server, and an exception that indicates a failure to follow a referral.
public LdapReferralException ( System message, System arguments, int resultCode, System serverMessage, System rootException ) : System
message System The additional error information. /// ///
arguments System The modifying arguments to be included in the /// message string. /// ///
resultCode int The result code returned. /// ///
serverMessage System Error message specifying additional information /// from the server. ///
rootException System
리턴 System

LdapReferralException() 공개 메소드

Constructs an exception with a specified error string, result code, and an error message from the server.
public LdapReferralException ( System message, int resultCode, System serverMessage ) : System
message System The additional error information. /// ///
resultCode int The result code returned. /// ///
serverMessage System Error message specifying additional information /// from the server. ///
리턴 System

LdapReferralException() 공개 메소드

Constructs an exception with a specified error string, result code, an error message from the server, and an exception that indicates a failure to follow a referral.
public LdapReferralException ( System message, int resultCode, System serverMessage, System rootException ) : System
message System The additional error information. /// ///
resultCode int The result code returned. /// ///
serverMessage System Error message specifying additional information /// from the server. ///
rootException System
리턴 System

ToString() 공개 메소드

returns a string of information about the exception and the the nested exceptions, if any.
public ToString ( ) : System.String
리턴 System.String

getReferrals() 공개 메소드

Gets the list of referral URLs (Ldap URLs to other servers) returned by the Ldap server. The referral list may include URLs of a type other than ones for an Ldap server (for example, a referral URL other than ldap://something).
public getReferrals ( ) : System.String[]
리턴 System.String[]