StreamUpgradeAcceptor.BeginAcceptUpgrade Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Asynchronous version of 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
Parameters
- stream
- Stream
The stream to be upgraded.
- callback
- AsyncCallback
The method to be called when the AcceptUpgrade
call has completed.
- state
- Object
State information for the AcceptUpgrade
call.
Returns
Returns a result code that is passed into EndAcceptUpgrade to access the upgraded stream.
Remarks
For more information, see the remarks for AcceptUpgrade.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om