RouteBuilderBase<TBuilder>.WithChannelId(ChannelId) Method

Definition

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

TBuilder

The current builder instance with the updated channel identifier.

Applies to