Language

TeamsBotApplication.HasMatchingRoute(CoreActivity) Method

Definition

Determines whether any registered route matches the given activity.

public bool HasMatchingRoute(Microsoft.Teams.Core.Schema.CoreActivity activity);
member this.HasMatchingRoute : Microsoft.Teams.Core.Schema.CoreActivity -> bool
Public Function HasMatchingRoute (activity As CoreActivity) As Boolean

Parameters

activity
CoreActivity

The activity to check against registered routes.

Returns

true if at least one route matches; otherwise, false.

Applies to