KeyValueRouteBuilderBase<TBuilder>.WithKey(String) 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.
Sets the name of the key property in the incoming activity's value payload used for route matching. Defaults to "task".
public TBuilder WithKey(string keyName);
member this.WithKey : string -> 'Builder
Public Function WithKey (keyName As String) As TBuilder
Parameters
- keyName
- String
A filter string that specifies the key data to include. If the value is null or consists only of white space, a default filter is applied.
Returns
The current instance of the builder, enabling method chaining.