This documentation is archived and is not being maintained.

IsolatedStorageFileStream.EndWrite Method

Ends an asynchronous write.

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

Parameters

asyncResult
The pending asynchronous I/O request to end.

Exceptions

Exception Type Condition
ArgumentNullException The asyncResult parameter is a null reference (Nothing in Visual Basic).

Remarks

EndWrite must be called exactly once on every IAsyncResult from BeginWrite.

EndWrite will block until the I/O operation has completed.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

IsolatedStorageFileStream Class | IsolatedStorageFileStream Members | System.IO.IsolatedStorage Namespace

Show: