JsonRpcTargetOptions.DisposeOnDisconnect 속성
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
원격 파티와의 연결이 끊어질 때 대상 개체를 삭제할지 여부를 나타내는 값을 가져오거나 설정합니다.
public bool DisposeOnDisconnect { get; set; }
member this.DisposeOnDisconnect : bool with get, set
Public Property DisposeOnDisconnect As Boolean
속성 값
설명
대상 개체가 구현되거나 IDisposable. IAsyncDisposableIAsyncDisposable 이 목록에서 구현된 첫 번째 인터페이스는 dispose 메서드가 호출되는 인터페이스입니다.
dispose 메서드에서 throw된 예외는 로 집계 Completion됩니다.