Language

ChannelUpdateRouteBuilder.AsInvoke(Boolean) Method

Definition

Returns the current event route builder instance. For event routes, the invoke flag is ignored to prevent misconfiguration.

public override Microsoft.Agents.Extensions.MSTeams.Channels.ChannelUpdateRouteBuilder AsInvoke(bool isInvoke = true);
override this.AsInvoke : bool -> Microsoft.Agents.Extensions.MSTeams.Channels.ChannelUpdateRouteBuilder
Public Overrides Function AsInvoke (Optional isInvoke As Boolean = true) As ChannelUpdateRouteBuilder

Parameters

isInvoke
Boolean

Ignored

Returns

The current instance of ChannelUpdateRouteBuilder.

Remarks

Channel updates cannot be configured as invoke routes. This method always returns the current instance, regardless of the value of isInvoke.

Applies to