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) 통신 개체가 아직 Closed 상태에 있지 않은 경우 호출 OnEndClose(IAsyncResult) 합니다.

적용 대상