Share via


SendActivity Constructors

Definition

Overloads

SendActivity(Activity, String, Int32)

Initializes a new instance of the SendActivity class.

SendActivity(String, String, Int32)

Initializes a new instance of the SendActivity class.

SendActivity(Activity, String, Int32)

Initializes a new instance of the SendActivity class.

public SendActivity (Microsoft.Bot.Schema.Activity activity, string callerPath = "", int callerLine = 0);
new Microsoft.Bot.Builder.Dialogs.Adaptive.Actions.SendActivity : Microsoft.Bot.Schema.Activity * string * int -> Microsoft.Bot.Builder.Dialogs.Adaptive.Actions.SendActivity
Public Sub New (activity As Activity, Optional callerPath As String = "", Optional callerLine As Integer = 0)

Parameters

activity
Activity

Activity to send.

callerPath
String

Optional, source file full path.

callerLine
Int32

Optional, line number in source file.

Applies to

SendActivity(String, String, Int32)

Initializes a new instance of the SendActivity class.

public SendActivity (string text = default, string callerPath = "", int callerLine = 0);
new Microsoft.Bot.Builder.Dialogs.Adaptive.Actions.SendActivity : string * string * int -> Microsoft.Bot.Builder.Dialogs.Adaptive.Actions.SendActivity
Public Sub New (Optional text As String = Nothing, Optional callerPath As String = "", Optional callerLine As Integer = 0)

Parameters

text
String

Optional, template to evaluate to create the activity.

callerPath
String

Optional, source file full path.

callerLine
Int32

Optional, line number in source file.

Applies to