CommunicationObject.OnEndClose(IAsyncResult) 메서드

정의

통신 개체의 닫기에서 비동기 작업을 완료합니다.

protected:
 abstract void OnEndClose(IAsyncResult ^ result);
protected abstract void OnEndClose(IAsyncResult result);
abstract member OnEndClose : IAsyncResult -> unit
Protected MustOverride Sub OnEndClose (result As IAsyncResult)

매개 변수

result
IAsyncResult

IAsyncResult 메서드를 호출하여 반환되는 OnEndClose(IAsyncResult) 값입니다.

예외

통신 개체가 상태가 Opened 아니고 Opening 수정할 수 없습니다.

통신 개체가 상태 Closing 이거나 Closed 수정할 수 없습니다.

통신 개체가 Faulted 상태에 있으므로 수정할 수 없습니다.

작업이 완료되기 전에 작업에 할당된 기본 시간 간격을 초과했습니다.

설명

EndClose(IAsyncResult) 통신 개체가 아직 상태에 있지 않은 경우 메서드가 OnEndClose(IAsyncResult) 호출 Closed 합니다.

적용 대상