LdapConnection.SendRequest 메서드

정의

DirectoryRequest 하나를 LDAP v3 작업으로 보냅니다.Sends a single DirectoryRequest as an LDAP v3 operation.

오버로드

SendRequest(DirectoryRequest)

SendRequest(DirectoryRequest) 메서드는 DirectoryRequest 하나를 LDAP v3 작업으로 보냅니다.The SendRequest(DirectoryRequest) method sends a single DirectoryRequest as an LDAP v3 operation.

SendRequest(DirectoryRequest, TimeSpan)

SendRequest(DirectoryRequest, TimeSpan) 메서드는 DirectoryRequest 하나를 LDAP v3 작업으로 보냅니다.The SendRequest(DirectoryRequest, TimeSpan) method sends a single DirectoryRequest as an LDAP v3 operation.

SendRequest(DirectoryRequest)

SendRequest(DirectoryRequest) 메서드는 DirectoryRequest 하나를 LDAP v3 작업으로 보냅니다.The SendRequest(DirectoryRequest) method sends a single DirectoryRequest as an LDAP v3 operation.

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 개체입니다.A DirectoryRequest object that contains the request.

반환

서버의 응답을 포함하는 DirectoryResponse 개체입니다.A DirectoryResponse object that contains the response from the server.

예외

개체가 이미 삭제된 경우.The object is already disposed. 개체 핸들이 잘못되었습니다.The object handle is not valid.

asyncResult가 null(Visual Basic의 경우 Nothing)인 경우asyncResult is null (Nothing in Visual Basic).

요청이 DsmlAuthRequest 형식인 경우Request is of type DsmlAuthRequest.

LDAP에서 반환된 오류 코드가 ResultCode 열거형 오류 코드에 매핑되지 않는 경우The error code returned by LDAP does not map to a ResultCode enumeration error code.

서버에서 오류와 함께 DirectoryResponse 개체를 반환한 경우Thrown if the server returned a DirectoryResponse object with an error.

보안

DirectoryServicesPermission
LinkDemand

SendRequest(DirectoryRequest, TimeSpan)

SendRequest(DirectoryRequest, TimeSpan) 메서드는 DirectoryRequest 하나를 LDAP v3 작업으로 보냅니다.The SendRequest(DirectoryRequest, TimeSpan) method sends a single DirectoryRequest as an LDAP v3 operation.

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 개체입니다.A DirectoryRequest object that contains the request.

requestTimeout
TimeSpan

요청 시간 제한이 초과되기 전까지의 시간(초)입니다.The length of time, in seconds, until the request times out.

반환

서버의 응답을 포함하는 DirectoryResponse 개체입니다.A DirectoryResponse object that contains the response from the server.

예외

개체가 이미 삭제된 경우.The object is already disposed. 개체 핸들이 잘못되었습니다.The object handle is not valid.

asyncResult가 null(Visual Basic의 경우 Nothing)인 경우asyncResult is null (Nothing in Visual Basic).

요청이 DsmlAuthRequest 형식인 경우Request is of type DsmlAuthRequest.

LDAP에서 반환된 오류 코드가 ResultCode 열거형 오류 코드에 매핑되지 않는 경우The error code returned by LDAP does not map to a the ResultCode enumeration error code.

서버에서 오류와 함께 DirectoryResponse 개체를 반환한 경우Thrown if the server returned a DirectoryResponse object with an error.

보안

DirectoryServicesPermission
LinkDemand

적용 대상