次の方法で共有


IsolatedStorageFileStream.EndWrite メソッド

非同期の書き込みを終了します。

Overrides Public Sub EndWrite( _
   ByVal asyncResult As IAsyncResult _)
[C#]
public override void EndWrite(IAsyncResultasyncResult);
[C++]
public: void EndWrite(IAsyncResult* asyncResult);
[JScript]
public override function EndWrite(
   asyncResult : IAsyncResult);

パラメータ

  • asyncResult
    保留中の非同期 I/O 終了要求。

例外

例外の種類 条件
ArgumentNullException asyncResult パラメータが null 参照 (Visual Basic では Nothing) です。

解説

EndWrite は、 BeginWrite からの各 IAsyncResult ごとに必ず一度呼び出す必要があります。

EndWrite は、I/O 操作が完了するまでブロックします。

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ

参照

IsolatedStorageFileStream クラス | IsolatedStorageFileStream メンバ | System.IO.IsolatedStorage 名前空間