Share via


BotAssert.ActivityNotNull(IActivity) Method

Definition

Checks that an activity object is not null.

public static void ActivityNotNull (Microsoft.Bot.Schema.IActivity activity);
static member ActivityNotNull : Microsoft.Bot.Schema.IActivity -> unit
Public Shared Sub ActivityNotNull (activity As IActivity)

Parameters

activity
IActivity

The activity object.

Exceptions

activity is null.

Applies to