Assembly: System (in system.dll)
'Declaration Public Overrides Sub EndWrite ( _ asyncResult As IAsyncResult _ ) 'Usage Dim instance As DeflateStream Dim asyncResult As IAsyncResult instance.EndWrite(asyncResult)
A reference to the outstanding asynchronous I/O request.
EndWrite must be called only once for every call to the BeginWrite method.
This method blocks until the I/O operation has completed. Errors that occur during an asynchronous write request, such as a disk failure during the I/O request, occur on the thread pool thread and become visible upon a call to EndWrite. Exceptions thrown by the thread pool thread will not be visible when calling EndWrite.
The following code example shows how to use the DeflateStream class to compress and decompress a file.
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
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.