TeamsActivityExtensions.TeamsGetTeamOnBehalfOf(IActivity) Method

Definition

Gets the Teams OnBehalfOf list from the current activity.

C#
public static System.Collections.Generic.IList<Microsoft.Agents.Teams.Primitives.OnBehalfOf> TeamsGetTeamOnBehalfOf(this Microsoft.Agents.Protocols.Primitives.IActivity activity);

Parameters

activity
IActivity

The current activity.

Returns

The current activity's OnBehalfOf list, or null.

Applies to

Product Versions
Microsoft 365 Agents SDK .NET 1