LdapConnection.SendRequest Метод
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Отправляет одну DirectoryRequest операцию LDAP версии 3.
Перегрузки
| Имя | Описание |
|---|---|
| SendRequest(DirectoryRequest) |
Метод SendRequest(DirectoryRequest) отправляет один из DirectoryRequest операций LDAP версии 3. |
| SendRequest(DirectoryRequest, TimeSpan) |
Метод SendRequest(DirectoryRequest, TimeSpan) отправляет один из DirectoryRequest операций LDAP версии 3. |
SendRequest(DirectoryRequest)
- Исходный код:
- LdapConnection.cs
- Исходный код:
- LdapConnection.cs
- Исходный код:
- LdapConnection.cs
- Исходный код:
- LdapConnection.cs
Метод SendRequest(DirectoryRequest) отправляет один из DirectoryRequest операций LDAP версии 3.
public:
override System::DirectoryServices::Protocols::DirectoryResponse ^ SendRequest(System::DirectoryServices::Protocols::DirectoryRequest ^ request);
public override System.DirectoryServices.Protocols.DirectoryResponse SendRequest(System.DirectoryServices.Protocols.DirectoryRequest request);
override this.SendRequest : System.DirectoryServices.Protocols.DirectoryRequest -> System.DirectoryServices.Protocols.DirectoryResponse
Public Overrides Function SendRequest (request As DirectoryRequest) As DirectoryResponse
Параметры
- request
- DirectoryRequest
Объект DirectoryRequest , содержащий запрос.
Возвращаемое значение
DirectoryResponse Объект, содержащий ответ с сервера.
Исключения
Объект уже удален. Недопустимый дескриптор объекта.
Запрос имеет тип DsmlAuthRequest.
Код ошибки, возвращаемый LDAP, не сопоставляется с ResultCode кодом ошибки перечисления.
Сервер вернул DirectoryResponse объект с ошибкой.
Применяется к
SendRequest(DirectoryRequest, TimeSpan)
- Исходный код:
- LdapConnection.cs
- Исходный код:
- LdapConnection.cs
- Исходный код:
- LdapConnection.cs
- Исходный код:
- LdapConnection.cs
Метод SendRequest(DirectoryRequest, TimeSpan) отправляет один из DirectoryRequest операций LDAP версии 3.
public:
System::DirectoryServices::Protocols::DirectoryResponse ^ SendRequest(System::DirectoryServices::Protocols::DirectoryRequest ^ request, TimeSpan requestTimeout);
public System.DirectoryServices.Protocols.DirectoryResponse SendRequest(System.DirectoryServices.Protocols.DirectoryRequest request, TimeSpan requestTimeout);
override this.SendRequest : System.DirectoryServices.Protocols.DirectoryRequest * TimeSpan -> System.DirectoryServices.Protocols.DirectoryResponse
Public Function SendRequest (request As DirectoryRequest, requestTimeout As TimeSpan) As DirectoryResponse
Параметры
- request
- DirectoryRequest
Объект DirectoryRequest , содержащий запрос.
- requestTimeout
- TimeSpan
Длительность времени (в секундах) до истечения времени ожидания запроса.
Возвращаемое значение
DirectoryResponse Объект, содержащий ответ с сервера.
Исключения
Объект уже удален. Недопустимый дескриптор объекта.
Запрос имеет тип DsmlAuthRequest.
Код ошибки, возвращаемый LDAP, не сопоставляется с ResultCode кодом ошибки перечисления.
Сервер вернул DirectoryResponse объект с ошибкой.