Share via


UserActivity Class

Definition

Send an activity to the bot.

public class UserActivity : Microsoft.Bot.Builder.Dialogs.Adaptive.Testing.TestAction
type UserActivity = class
    inherit TestAction
Public Class UserActivity
Inherits TestAction
Inheritance
UserActivity

Constructors

UserActivity(String, Int32)

Initializes a new instance of the UserActivity class.

Fields

Kind

Kind for the serialization.

Properties

Activity

Gets or sets the activity to compare.

User

Gets or sets the User name.

Methods

ExecuteAsync(TestAdapter, BotCallbackHandler, Inspector)

Execute the test.

RegisterSourcePath(String, Int32)

Registers the path to file and callers line.

(Inherited from TestAction)

Applies to