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

적용 대상