Share via


UpdateActivity Constructors

Definition

Overloads

UpdateActivity(Activity, String, Int32)

Initializes a new instance of the UpdateActivity class.

UpdateActivity(String, String, Int32)

Initializes a new instance of the UpdateActivity class.

UpdateActivity(Activity, String, Int32)

Initializes a new instance of the UpdateActivity class.

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

Parameters

activity
Activity

Replacement Activity.

callerPath
String

Optional, source file full path.

callerLine
Int32

Optional, line number in source file.

Applies to

UpdateActivity(String, String, Int32)

Initializes a new instance of the UpdateActivity class.

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

Parameters

text
String

Optional, the template to evaluate to create the replacement activity.

callerPath
String

Optional, source file full path.

callerLine
Int32

Optional, line number in source file.

Applies to