StreamUpgradeAcceptor.EndAcceptUpgrade(IAsyncResult) Method

Definition

Asynchronous version of AcceptUpgrade(Stream).

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

Parameters

result
IAsyncResult

The IAsyncResult returned from BeginAcceptUpgrade.

Returns

Returns the upgraded stream.

Remarks

For more information, see the remarks in AcceptUpgrade.

Applies to