StreamUpgradeInitiator.EndInitiateUpgrade(IAsyncResult) Method

Definition

This method is the asynchronous callback method that is called after BeginInitiateUpgrade(Stream, AsyncCallback, Object) has completed.

public:
 abstract System::IO::Stream ^ EndInitiateUpgrade(IAsyncResult ^ result);
public abstract System.IO.Stream EndInitiateUpgrade (IAsyncResult result);
abstract member EndInitiateUpgrade : IAsyncResult -> System.IO.Stream
Public MustOverride Function EndInitiateUpgrade (result As IAsyncResult) As Stream

Parameters

result
IAsyncResult

The IAsyncResult returned from the BeginInitiateUpgrade(Stream, AsyncCallback, Object) method.

Returns

Returns the upgraded stream.

Remarks

For more information about using this method, see the remarks in InitiateUpgrade.

Applies to