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

Dim instance As FtpWebRequest Dim value As Boolean value = instance.KeepAlive instance.KeepAlive = value
/** @property */ public boolean get_KeepAlive () /** @property */ public void set_KeepAlive (boolean value)
サーバーへの接続を破棄させない場合は true。それ以外の場合は false。既定値は true です。


KeepAlive プロパティが false に設定された場合は、Close メソッドを呼び出すと、制御接続が閉じます。
GetRequestStream、BeginGetRequestStream、GetResponse、または BeginGetResponse の各メソッドを呼び出した後に KeepAlive を変更すると、InvalidOperationException 例外が発生します。


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に収録されているすべての辞書からFtpWebRequest.KeepAlive プロパティを検索する場合は、下記のリンクをクリックしてください。

- FtpWebRequest.KeepAlive プロパティのページへのリンク