MultiBufferMemoryStream.BeginFastCopyTo Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Begins an asynchronous fast-copy operation.
public IAsyncResult BeginFastCopyTo (System.IO.Stream destination, DateTime? expiryTime, AsyncCallback callback, object state);
member this.BeginFastCopyTo : System.IO.Stream * Nullable<DateTime> * AsyncCallback * obj -> IAsyncResult
Public Function BeginFastCopyTo (destination As Stream, expiryTime As Nullable(Of DateTime), callback As AsyncCallback, state As Object) As IAsyncResult
Parameters
- destination
- Stream
The stream to which the contents of the current stream will be copied.
- callback
- AsyncCallback
An optional asynchronous callback, to be called when the copy is complete.
- state
- Object
A user-provided object that distinguishes this particular asynchronous copy request from other requests.
Returns
An IAsyncResult that represents the asynchronous copy, which could still be pending.