StreamUpgradeInitiator.BeginInitiateUpgrade 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.
This abstract
method can be implemented to do asynchronous processing that initiates an upgrade.
public:
abstract IAsyncResult ^ BeginInitiateUpgrade(System::IO::Stream ^ stream, AsyncCallback ^ callback, System::Object ^ state);
public abstract IAsyncResult BeginInitiateUpgrade (System.IO.Stream stream, AsyncCallback callback, object state);
abstract member BeginInitiateUpgrade : System.IO.Stream * AsyncCallback * obj -> IAsyncResult
Public MustOverride Function BeginInitiateUpgrade (stream As Stream, callback As AsyncCallback, state As Object) As IAsyncResult
Parameters
- stream
- Stream
The stream to be upgraded.
- callback
- AsyncCallback
The method to call when the InitiateUpgrade(Stream) has completed.
- state
- Object
State information about the status of the asynchronous call.
Returns
Returns an IAsyncResult to be passed into the EndInitiateUpgrade(IAsyncResult) method.
Remarks
This method calls InitiateUpgrade and returns.