RouteBuilderBase<TBuilder>.WithChannelId(ChannelId) 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 channel identifier for the route and returns the builder instance for method chaining.
public TBuilder WithChannelId(Microsoft.Agents.Core.Models.ChannelId channelId);
member this.WithChannelId : Microsoft.Agents.Core.Models.ChannelId -> 'Builder
Public Function WithChannelId (channelId As ChannelId) As TBuilder
Parameters
- channelId
- ChannelId
The channel identifier to associate with the route.
Returns
The current builder instance with the updated channel identifier.