JsonRpcTargetOptions.DisposeOnDisconnect 속성

정의

원격 파티와의 연결이 끊어질 때 대상 개체를 삭제할지 여부를 나타내는 값을 가져오거나 설정합니다.

public bool DisposeOnDisconnect { get; set; }
member this.DisposeOnDisconnect : bool with get, set
Public Property DisposeOnDisconnect As Boolean

속성 값

설명

대상 개체가 구현되거나 IDisposable. IAsyncDisposableIAsyncDisposable 이 목록에서 구현된 첫 번째 인터페이스는 dispose 메서드가 호출되는 인터페이스입니다.

dispose 메서드에서 throw된 예외는 로 집계 Completion됩니다.

적용 대상