ภาษา

TestFlow.SendConversationUpdate Method

Definition

Overloads

Name Description
SendConversationUpdate()

Creates a conversation update activity and process it the activity.

SendConversationUpdate(IEnumerable<ChannelAccount>)

Creates a conversation update activity with explicit members added and processes it.

SendConversationUpdate()

Creates a conversation update activity and process it the activity.

public Microsoft.Agents.Builder.Testing.TestFlow SendConversationUpdate();
member this.SendConversationUpdate : unit -> Microsoft.Agents.Builder.Testing.TestFlow
Public Function SendConversationUpdate () As TestFlow

Returns

A new TestFlow object.

Applies to

SendConversationUpdate(IEnumerable<ChannelAccount>)

Creates a conversation update activity with explicit members added and processes it.

public Microsoft.Agents.Builder.Testing.TestFlow SendConversationUpdate(System.Collections.Generic.IEnumerable<Microsoft.Agents.Core.Models.ChannelAccount> membersAdded);
member this.SendConversationUpdate : seq<Microsoft.Agents.Core.Models.ChannelAccount> -> Microsoft.Agents.Builder.Testing.TestFlow
Public Function SendConversationUpdate (membersAdded As IEnumerable(Of ChannelAccount)) As TestFlow

Parameters

membersAdded
IEnumerable<ChannelAccount>

Members to add. Pass null to use the default user (Conversation.User). Must not be empty — an empty list silently prevents OnMembersAdded from firing.

Returns

A new TestFlow object.

Exceptions

Thrown when membersAdded is an empty collection.

Applies to