NegotiateStream.CanTimeout プロパティ
アセンブリ: System (system.dll 内)


このプロパティは、基になるストリームの CanTimeout プロパティを呼び出すことによって取得される値を返します。基になるストリームは、NegotiateStream クラスのインスタンスの作成時に指定されます。

このプロパティの値を表示する方法については、次のコード例を参照してください。
static void DisplayStreamProperties(NegotiateStream stream) { Console.WriteLine("Can read: {0}", stream.CanRead); Console.WriteLine("Can write: {0}", stream.CanWrite); Console.WriteLine("Can seek: {0}", stream.CanSeek); try { // If the underlying stream supports it, display the length. Console.WriteLine("Length: {0}", stream.Length); } catch (NotSupportedException) { Console.WriteLine("Cannot get the length of the underlying stream."); } if (stream.CanTimeout) { Console.WriteLine("Read time-out: {0}", stream.ReadTimeout); Console.WriteLine("Write time-out: {0}", stream.WriteTimeout); } }

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


Weblioに収録されているすべての辞書からNegotiateStream.CanTimeout プロパティを検索する場合は、下記のリンクをクリックしてください。

- NegotiateStream.CanTimeout プロパティのページへのリンク