Stream.CanTimeout 속성
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
현재 스트림이 시간 초과될 수 있는지를 결정하는 값을 가져옵니다.
public:
virtual property bool CanTimeout { bool get(); };
public virtual bool CanTimeout { get; }
[System.Runtime.InteropServices.ComVisible(false)]
public virtual bool CanTimeout { get; }
member this.CanTimeout : bool
[<System.Runtime.InteropServices.ComVisible(false)>]
member this.CanTimeout : bool
Public Overridable ReadOnly Property CanTimeout As Boolean
속성 값
현재 스트림이 시간 초과될 수 있는지를 결정하는 값입니다.
- 특성
설명
CanTimeout 속성은 항상 false
를 반환합니다. 일부 스트림 구현에는 네트워크 연결이 중단되거나 손실되는 경우 시간 초과와 같은 NetworkStream다른 동작이 필요합니다. 시간 초과할 수 있어야 하는 스트림을 구현하는 경우 이 속성을 재정의하여 반환 true
해야 합니다.