Stream.WriteTimeout プロパティ
定義
ストリームがタイムアウト前に書き込みを試行する期間を決定する値 (ミリ秒単位) を取得または設定します。Gets or sets a value, in milliseconds, that determines how long the stream will attempt to write before timing out.
public:
virtual property int WriteTimeout { int get(); void set(int value); };
public virtual int WriteTimeout { get; set; }
[System.Runtime.InteropServices.ComVisible(false)]
public virtual int WriteTimeout { get; set; }
member this.WriteTimeout : int with get, set
[<System.Runtime.InteropServices.ComVisible(false)>]
member this.WriteTimeout : int with get, set
Public Overridable Property WriteTimeout As Integer
プロパティ値
ストリームがタイムアウト前に書き込みを試行する期間を決定する値 (ミリ秒単位)。A value, in milliseconds, that determines how long the stream will attempt to write before timing out.
- 属性
例外
WriteTimeout メソッドは、常に InvalidOperationException をスローします。The WriteTimeout method always throws an InvalidOperationException.
注意 (継承者)
WriteTimeoutストリームに適切な動作を提供するには、プロパティをオーバーライドする必要があります。The WriteTimeout property should be overridden to provide the appropriate behavior for the stream. ストリームがタイムアウトをサポートしていない場合、このプロパティはを発生させる必要があり InvalidOperationException ます。If the stream does not support timing out, this property should raise an InvalidOperationException.