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
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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[]