Share via


Activity.CreateEventActivity Method

Definition

Creates an instance of the Activity class as an IEventActivity object.

public static Microsoft.Bot.Schema.IEventActivity CreateEventActivity ();
static member CreateEventActivity : unit -> Microsoft.Bot.Schema.IEventActivity
Public Shared Function CreateEventActivity () As IEventActivity

Returns

The new event activity.

Applies to