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