Share via


Activity.AsCommandResultActivity Method

Definition

Returns this activity as an ICommandResultActivity object; or null, if this is not that type of activity.

public Microsoft.Bot.Schema.ICommandResultActivity AsCommandResultActivity ();
member this.AsCommandResultActivity : unit -> Microsoft.Bot.Schema.ICommandResultActivity
Public Function AsCommandResultActivity () As ICommandResultActivity

Returns

This activity as a command result activity; or null.

Applies to