StreamUpgradeInitiator.EndInitiateUpgrade(IAsyncResult) 方法

定义

此方法是在 BeginInitiateUpgrade(Stream, AsyncCallback, Object) 完成后调用的异步回调方法。

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

参数

result
IAsyncResult

IAsyncResult 方法返回的 BeginInitiateUpgrade(Stream, AsyncCallback, Object)

返回

返回升级后的流。

注解

有关使用此方法的更多信息,请参见 InitiateUpgrade 中的备注。

适用于