LdapConnection.Abort(IAsyncResult) 메서드

정의

Abort(IAsyncResult) 메서드는 비동기 요청을 취소합니다.The Abort(IAsyncResult) method cancels the asynchronous request.

public:
 void Abort(IAsyncResult ^ asyncResult);
public void Abort (IAsyncResult asyncResult);
member this.Abort : IAsyncResult -> unit
Public Sub Abort (asyncResult As IAsyncResult)

매개 변수

asyncResult
IAsyncResult

비동기 요청을 참조하는 IAsyncResult 개체입니다.A IAsyncResult object that references the asynchronous request.

예외

개체 핸들이 잘못되었습니다.The object handle is not valid.

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

BeginSendRequest를 호출하여 asyncResult가 반환되지 않은 경우asyncResult was not returned by the corresponding call to BeginSendRequest

보안

DirectoryServicesPermission
LinkDemand

적용 대상