AgentApplication.OnConversationUpdate Method
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.
Overloads
| OnConversationUpdate(RouteSelector, RouteHandler, UInt16, String[]) |
Handles conversation update events using a custom selector. |
| OnConversationUpdate(String, RouteHandler, UInt16, String[]) |
Handles conversation update events. |
| OnConversationUpdate(String[], RouteHandler, UInt16, String[]) |
Handles conversation update events. |
OnConversationUpdate(RouteSelector, RouteHandler, UInt16, String[])
Handles conversation update events using a custom selector.
public virtual Microsoft.Agents.Builder.App.AgentApplication OnConversationUpdate(Microsoft.Agents.Builder.App.RouteSelector conversationUpdateSelector, Microsoft.Agents.Builder.App.RouteHandler handler, ushort rank = 32767, string[] autoSignInHandlers = default);
abstract member OnConversationUpdate : Microsoft.Agents.Builder.App.RouteSelector * Microsoft.Agents.Builder.App.RouteHandler * uint16 * string[] -> Microsoft.Agents.Builder.App.AgentApplication
override this.OnConversationUpdate : Microsoft.Agents.Builder.App.RouteSelector * Microsoft.Agents.Builder.App.RouteHandler * uint16 * string[] -> Microsoft.Agents.Builder.App.AgentApplication
Public Overridable Function OnConversationUpdate (conversationUpdateSelector As RouteSelector, handler As RouteHandler, Optional rank As UShort = 32767, Optional autoSignInHandlers As String() = Nothing) As AgentApplication
Parameters
- conversationUpdateSelector
- RouteSelector
This will be used in addition the checking for Activity.Type == ActivityTypes.ConversationUpdate.
- handler
- RouteHandler
Function to call when the route is triggered.
- rank
- UInt16
0 - ushort.MaxValue for order of evaluation. Ranks of the same value are evaluated in order of addition.
- autoSignInHandlers
- String[]
Returns
The application instance for chaining purposes.
Applies to
OnConversationUpdate(String, RouteHandler, UInt16, String[])
Handles conversation update events.
public virtual Microsoft.Agents.Builder.App.AgentApplication OnConversationUpdate(string conversationUpdateEvent, Microsoft.Agents.Builder.App.RouteHandler handler, ushort rank = 32767, string[] autoSignInHandlers = default);
abstract member OnConversationUpdate : string * Microsoft.Agents.Builder.App.RouteHandler * uint16 * string[] -> Microsoft.Agents.Builder.App.AgentApplication
override this.OnConversationUpdate : string * Microsoft.Agents.Builder.App.RouteHandler * uint16 * string[] -> Microsoft.Agents.Builder.App.AgentApplication
Public Overridable Function OnConversationUpdate (conversationUpdateEvent As String, handler As RouteHandler, Optional rank As UShort = 32767, Optional autoSignInHandlers As String() = Nothing) As AgentApplication
Parameters
- conversationUpdateEvent
- String
Name of the conversation update event to handle, can use ConversationUpdateEvents. If
- handler
- RouteHandler
Function to call when the route is triggered.
- rank
- UInt16
0 - ushort.MaxValue for order of evaluation. Ranks of the same value are evaluated in order of addition.
- autoSignInHandlers
- String[]
Returns
The application instance for chaining purposes.
Applies to
OnConversationUpdate(String[], RouteHandler, UInt16, String[])
Handles conversation update events.
public Microsoft.Agents.Builder.App.AgentApplication OnConversationUpdate(string[] conversationUpdateEvents, Microsoft.Agents.Builder.App.RouteHandler handler, ushort rank = 32767, string[] autoSignInHandlers = default);
member this.OnConversationUpdate : string[] * Microsoft.Agents.Builder.App.RouteHandler * uint16 * string[] -> Microsoft.Agents.Builder.App.AgentApplication
Public Function OnConversationUpdate (conversationUpdateEvents As String(), handler As RouteHandler, Optional rank As UShort = 32767, Optional autoSignInHandlers As String() = Nothing) As AgentApplication
Parameters
- conversationUpdateEvents
- String[]
Name of the conversation update events to handle, can use ConversationUpdateEvents as array item.
- handler
- RouteHandler
Function to call when the route is triggered.
- rank
- UInt16
0 - ushort.MaxValue for order of evaluation. Ranks of the same value are evaluated in order of addition.
- autoSignInHandlers
- String[]
Returns
The application instance for chaining purposes.