Language

ActionExecuteRouteBuilder.WithVerb Method

Definition

Overloads

Name Description
WithVerb(String)

Configures the route to match only Action.Execute activities whose verb equals the specified value.

WithVerb(Regex)

Configures the route to match Action.Execute activities whose verb matches the specified pattern.

WithVerb(String)

Configures the route to match only Action.Execute activities whose verb equals the specified value.

public Microsoft.Agents.Builder.App.AdaptiveCards.ActionExecuteRouteBuilder WithVerb(string verb);
member this.WithVerb : string -> Microsoft.Agents.Builder.App.AdaptiveCards.ActionExecuteRouteBuilder
Public Function WithVerb (verb As String) As ActionExecuteRouteBuilder

Parameters

verb
String

The verb to match. Comparison is exact.

Returns

The current ActionExecuteRouteBuilder instance for method chaining.

Applies to

WithVerb(Regex)

Configures the route to match Action.Execute activities whose verb matches the specified pattern.

public Microsoft.Agents.Builder.App.AdaptiveCards.ActionExecuteRouteBuilder WithVerb(System.Text.RegularExpressions.Regex verbPattern);
member this.WithVerb : System.Text.RegularExpressions.Regex -> Microsoft.Agents.Builder.App.AdaptiveCards.ActionExecuteRouteBuilder
Public Function WithVerb (verbPattern As Regex) As ActionExecuteRouteBuilder

Parameters

verbPattern
Regex

A regular expression used to match the verb.

Returns

The current ActionExecuteRouteBuilder instance for method chaining.

Applies to