BotAssert.ActivityNotNull(IActivity) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.