TypingChannelStrategy 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.
Concrete per-channel typing strategy with configurable initial delay and interval.
public TypingChannelStrategy(int initialDelayMs, int intervalMs, Func<Microsoft.Agents.Builder.ITurnContext,Microsoft.Agents.Core.Models.ConversationReference,Microsoft.Agents.Core.Models.IActivity> typingFactory = default);
new Microsoft.Agents.Builder.App.TypingChannelStrategy : int * int * Func<Microsoft.Agents.Builder.ITurnContext, Microsoft.Agents.Core.Models.ConversationReference, Microsoft.Agents.Core.Models.IActivity> -> Microsoft.Agents.Builder.App.TypingChannelStrategy
Public Sub New (initialDelayMs As Integer, intervalMs As Integer, Optional typingFactory As Func(Of ITurnContext, ConversationReference, IActivity) = Nothing)
Parameters
- initialDelayMs
- Int32
- intervalMs
- Int32
- typingFactory
- Func<ITurnContext,ConversationReference,IActivity>