QueryLinkRouteBuilder.WithHandler(QueryLinkHandler) 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.
Configures the route to use the specified asynchronous handler for processing query link.
public Microsoft.Agents.Extensions.MSTeams.MessageExtensions.QueryLinkRouteBuilder WithHandler(Microsoft.Agents.Extensions.MSTeams.MessageExtensions.QueryLinkHandler handler);
member this.WithHandler : Microsoft.Agents.Extensions.MSTeams.MessageExtensions.QueryLinkHandler -> Microsoft.Agents.Extensions.MSTeams.MessageExtensions.QueryLinkRouteBuilder
Public Function WithHandler (handler As QueryLinkHandler) As QueryLinkRouteBuilder
Parameters
- handler
- QueryLinkHandler
An asynchronous delegate that processes the query link.
Returns
The current instance of QueryLinkRouteBuilder, enabling method chaining.