StreamManager(Action<PayloadStreamAssembler>) Constructeur
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.
Initialise une nouvelle instance de la classe StreamManager.
public StreamManager(Action<Microsoft.Bot.Streaming.Payloads.PayloadStreamAssembler> onCancelStream = default);
new Microsoft.Bot.Streaming.Payloads.StreamManager : Action<Microsoft.Bot.Streaming.Payloads.PayloadStreamAssembler> -> Microsoft.Bot.Streaming.Payloads.StreamManager
Public Sub New (Optional onCancelStream As Action(Of PayloadStreamAssembler) = Nothing)
Paramètres
- onCancelStream
- Action<PayloadStreamAssembler>
Action optionnelle à déclencher si le flux géré est annulé.