StreamUpgradeAcceptor.BeginAcceptUpgrade Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Version asynchrone de 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
Paramètres
- stream
- Stream
Flux à mettre à niveau.
- callback
- AsyncCallback
Méthode à appeler lorsque l’appel AcceptUpgrade est terminé.
- state
- Object
Informations d’état pour l’appel AcceptUpgrade .
Retours
Retourne un code de résultat passé à EndAcceptUpgrade pour accéder au flux mis à niveau.
Remarques
Pour plus d’informations, consultez les remarques pour AcceptUpgrade.