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

Name Description
UserActivity(String, Int32)

Initializes a new instance of the UserActivity class.

Fields

Name Description
Kind

Kind for the serialization.

Properties

Name Description
Activity

Gets or sets the activity to compare.

User

Gets or sets the User name.

Methods

Name Description
ExecuteAsync(TestAdapter, BotCallbackHandler, Inspector)

Execute the test.

RegisterSourcePath(String, Int32)

Registers the path to file and callers line.

(Inherited from TestAction)

Applies to