Rediger

Del via


StreamUpgradeInitiator.BeginInitiateUpgrade Method

Definition

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.

Applies to