Share via


CommunicationObject.OnClosed 메서드

정의

통신 개체가 Closing 상태로 전환되는 중에 호출됩니다.

protected:
 virtual void OnClosed();
protected virtual void OnClosed ();
abstract member OnClosed : unit -> unit
override this.OnClosed : unit -> unit
Protected Overridable Sub OnClosed ()

설명

메서드는 Close 통신 개체가 처음에 상태에 있으면 를 호출 OnClosed 합니다 Opened .

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

적용 대상