StreamManager(Action<PayloadStreamAssembler>) Constructor
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.
Initializes a new instance of the StreamManager class.
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)
Parameters
- onCancelStream
- Action<PayloadStreamAssembler>
Optional action to trigger if the managed stream is cancelled.