C# Class 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.
Inheritance: LdapException
Afficher le fichier Open project: EventStore/csharp-ldap Class Usage Examples

Méthodes publiques

Méthode Description
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).

Private Methods

Méthode Description
setReferrals ( System urls ) : void

Sets the list of referrals

Method Details

LdapReferralException() public méthode

Constructs a default exception with no specific error information.
public LdapReferralException ( ) : System
Résultat System

LdapReferralException() public méthode

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. ///
Résultat System

LdapReferralException() public méthode

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. /// ///
Résultat System

LdapReferralException() public méthode

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. ///
Résultat System

LdapReferralException() public méthode

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. ///
Résultat System

LdapReferralException() public méthode

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
Résultat System

LdapReferralException() public méthode

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. ///
Résultat System

LdapReferralException() public méthode

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
Résultat System

ToString() public méthode

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

getReferrals() public méthode

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[]
Résultat System.String[]