Stream.CanTimeout 속성

정의

현재 스트림이 시간 초과될 수 있는지를 결정하는 값을 가져옵니다.

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

속성 값

Boolean

현재 스트림이 시간 초과될 수 있는지를 결정하는 값입니다.

특성

설명

CanTimeout 속성은 항상 false를 반환합니다. 일부 스트림 구현에는 네트워크 연결이 중단되거나 손실되는 경우 시간 초과와 같은 NetworkStream다른 동작이 필요합니다. 시간 초과할 수 있어야 하는 스트림을 구현하는 경우 이 속성을 재정의하여 반환 true해야 합니다.

적용 대상

추가 정보