StreamUpgradeAcceptor.BeginAcceptUpgrade 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
AcceptUpgrade(Stream) 的非同步版本。
public:
abstract IAsyncResult ^ BeginAcceptUpgrade(System::IO::Stream ^ stream, AsyncCallback ^ callback, System::Object ^ state);
public abstract IAsyncResult BeginAcceptUpgrade (System.IO.Stream stream, AsyncCallback callback, object state);
abstract member BeginAcceptUpgrade : System.IO.Stream * AsyncCallback * obj -> IAsyncResult
Public MustOverride Function BeginAcceptUpgrade (stream As Stream, callback As AsyncCallback, state As Object) As IAsyncResult
參數
- stream
- Stream
要升級的資料流。
- callback
- AsyncCallback
當 AcceptUpgrade
呼叫已完成時,所要呼叫的方法。
- state
- Object
AcceptUpgrade
呼叫的狀態資訊。
傳回
傳回傳入 EndAcceptUpgrade 以存取所升級資料流的結果碼。
備註
如需詳細資訊,請參閱 AcceptUpgrade 的備註。