C# Класс Novell.Directory.Ldap.LdapLocalException

Represents an Ldap exception that is not a result of a server response.
Наследование: LdapException
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
LdapLocalException ( ) : System

Constructs a default exception with no specific error information.

LdapLocalException ( System messageOrKey, System arguments, int resultCode ) : System

Constructs a local exception with a detailed message obtained from the specified MessageOrKey String and modifying arguments. Additional parameters specify the result code. The String is used either as a message key to obtain a localized messsage from ExceptionMessages, or if there is no key in the resource matching the text, it is used as the detailed message itself. The message in the default locale is built with the supplied arguments, which are saved to be used for building messages for other locales.

LdapLocalException ( System messageOrKey, System arguments, int resultCode, System rootException ) : System

Constructs a local exception with a detailed message obtained from the specified MessageOrKey String and modifying arguments. Additional parameters specify the result code and a rootException which is the underlying cause of an error on the client. The String is used either as a message key to obtain a localized messsage from ExceptionMessages, or if there is no key in the resource matching the text, it is used as the detailed message itself. The message in the default locale is built with the supplied arguments, which are saved to be used for building messages for other locales.

LdapLocalException ( System messageOrKey, int resultCode ) : System

Constructs a local exception with a detailed message obtained from the specified MessageOrKey String and the result code. The String is used either as a message key to obtain a localized messsage from ExceptionMessages, or if there is no key in the resource matching the text, it is used as the detailed message itself.

LdapLocalException ( System messageOrKey, int resultCode, System rootException ) : System

Constructs a local exception with a detailed message obtained from the specified MessageOrKey String. Additional parameters specify the result code and a rootException which is the underlying cause of an error on the client. The String is used either as a message key to obtain a localized messsage from ExceptionMessages, or if there is no key in the resource matching the text, it is used as the detailed message itself.

ToString ( ) : System.String

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

Описание методов

LdapLocalException() публичный Метод

Constructs a default exception with no specific error information.
public LdapLocalException ( ) : System
Результат System

LdapLocalException() публичный Метод

Constructs a local exception with a detailed message obtained from the specified MessageOrKey String and modifying arguments. Additional parameters specify the result code. The String is used either as a message key to obtain a localized messsage from ExceptionMessages, or if there is no key in the resource matching the text, it is used as the detailed message itself. The message in the default locale is built with the supplied arguments, which are saved to be used for building messages for other locales.
public LdapLocalException ( System messageOrKey, System arguments, int resultCode ) : System
messageOrKey System Key to addition result information, a key into /// ExceptionMessages, or the information /// itself if the key doesn't exist. /// ///
arguments System The modifying arguments to be included in the /// message string. /// ///
resultCode int The result code returned. ///
Результат System

LdapLocalException() публичный Метод

Constructs a local exception with a detailed message obtained from the specified MessageOrKey String and modifying arguments. Additional parameters specify the result code and a rootException which is the underlying cause of an error on the client. The String is used either as a message key to obtain a localized messsage from ExceptionMessages, or if there is no key in the resource matching the text, it is used as the detailed message itself. The message in the default locale is built with the supplied arguments, which are saved to be used for building messages for other locales.
public LdapLocalException ( System messageOrKey, System arguments, int resultCode, System rootException ) : System
messageOrKey System Key to addition result information, a key into /// ExceptionMessages, or the information /// itself if the key doesn't exist. /// ///
arguments System The modifying arguments to be included in the /// message string. /// ///
resultCode int The result code returned. /// ///
rootException System A throwable which is the underlying cause /// of the LdapException. ///
Результат System

LdapLocalException() публичный Метод

Constructs a local exception with a detailed message obtained from the specified MessageOrKey String and the result code. The String is used either as a message key to obtain a localized messsage from ExceptionMessages, or if there is no key in the resource matching the text, it is used as the detailed message itself.
public LdapLocalException ( System messageOrKey, int resultCode ) : System
messageOrKey System Key to addition result information, a key into /// ExceptionMessages, or the information /// itself if the key doesn't exist. /// ///
resultCode int The result code returned. ///
Результат System

LdapLocalException() публичный Метод

Constructs a local exception with a detailed message obtained from the specified MessageOrKey String. Additional parameters specify the result code and a rootException which is the underlying cause of an error on the client. The String is used either as a message key to obtain a localized messsage from ExceptionMessages, or if there is no key in the resource matching the text, it is used as the detailed message itself.
public LdapLocalException ( System messageOrKey, int resultCode, System rootException ) : System
messageOrKey System Key to addition result information, a key into /// ExceptionMessages, or the information /// itself if the key doesn't exist. /// ///
resultCode int The result code returned. /// ///
rootException System A throwable which is the underlying cause /// of the LdapException. ///
Результат System

ToString() публичный Метод

returns a string of information about the exception and the the nested exceptions, if any.
public ToString ( ) : System.String
Результат System.String