Share via


Activity.AsEventActivity Method

Definition

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

public Microsoft.Bot.Schema.IEventActivity AsEventActivity ();
abstract member AsEventActivity : unit -> Microsoft.Bot.Schema.IEventActivity
override this.AsEventActivity : unit -> Microsoft.Bot.Schema.IEventActivity
Public Function AsEventActivity () As IEventActivity

Returns

This activity as an event activity; or null.

Implements

Applies to