IDuplexSession.BeginCloseOutputSession 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.
Commence une opération asynchrone pour mettre fin à la session sortante.
Surcharges
| Nom | Description |
|---|---|
| BeginCloseOutputSession(AsyncCallback, Object) |
Commence une opération asynchrone pour mettre fin à la session sortante. |
| BeginCloseOutputSession(TimeSpan, AsyncCallback, Object) |
Commence une opération asynchrone pour mettre fin à la session sortante avec un délai d’expiration spécifié dans lequel l’opération doit se terminer. |
BeginCloseOutputSession(AsyncCallback, Object)
- Source:
- IDuplexSession.cs
- Source:
- IDuplexSession.cs
- Source:
- IDuplexSession.cs
Commence une opération asynchrone pour mettre fin à la session sortante.
public:
IAsyncResult ^ BeginCloseOutputSession(AsyncCallback ^ callback, System::Object ^ state);
public IAsyncResult BeginCloseOutputSession(AsyncCallback callback, object state);
abstract member BeginCloseOutputSession : AsyncCallback * obj -> IAsyncResult
Public Function BeginCloseOutputSession (callback As AsyncCallback, state As Object) As IAsyncResult
Paramètres
- callback
- AsyncCallback
Délégué AsyncCallback .
- state
- Object
Qui object contient des informations d’état pour cette requête.
Retours
Qui IAsyncResult fait référence à l’arrêt de session sortante asynchrone.
Remarques
La fin de la session sortante n’affecte pas la session entrante et ne fait donc aucune instruction sur la possibilité de recevoir des messages sur la session associée au canal d’entrée. Cette opération doit se terminer dans un intervalle de temps par défaut.
S’applique à
BeginCloseOutputSession(TimeSpan, AsyncCallback, Object)
- Source:
- IDuplexSession.cs
- Source:
- IDuplexSession.cs
- Source:
- IDuplexSession.cs
Commence une opération asynchrone pour mettre fin à la session sortante avec un délai d’expiration spécifié dans lequel l’opération doit se terminer.
public:
IAsyncResult ^ BeginCloseOutputSession(TimeSpan timeout, AsyncCallback ^ callback, System::Object ^ state);
public IAsyncResult BeginCloseOutputSession(TimeSpan timeout, AsyncCallback callback, object state);
abstract member BeginCloseOutputSession : TimeSpan * AsyncCallback * obj -> IAsyncResult
Public Function BeginCloseOutputSession (timeout As TimeSpan, callback As AsyncCallback, state As Object) As IAsyncResult
Paramètres
- timeout
- TimeSpan
Qui TimeSpan spécifie l’intervalle de temps dans lequel l’opération doit se terminer.
- callback
- AsyncCallback
Délégué AsyncCallback .
- state
- Object
Qui object contient des informations d’état pour cette requête.
Retours
Qui IAsyncResult fait référence à l’arrêt de session sortante asynchrone.
Remarques
La fin de la session sortante n’affecte pas la session entrante et ne fait donc aucune instruction sur la possibilité de recevoir des messages sur la session associée au canal d’entrée.