CommunicationObject.EndClose(IAsyncResult) 메서드

정의

비동기 작업을 완료하여 통신 개체를 닫습니다.

public:
 virtual void EndClose(IAsyncResult ^ result);
public void EndClose(IAsyncResult result);
abstract member EndClose : IAsyncResult -> unit
override this.EndClose : IAsyncResult -> unit
Public Sub EndClose (result As IAsyncResult)

매개 변수

result
IAsyncResult

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

구현

예외

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

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

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

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

설명

이 메서드의 동기 버전은 메서드에서 Close 제공됩니다.

적용 대상