---
title: "The AddEvents method"
slug: "the-addevents-method"
abstract: "Overview of the AddEvents method and properties."
---
# The AddEvents method

An interaction must contain at least one event. To add an event, use the `AddEvents()` method.

| Property | Details |
| --- | --- |
| UT SDK method | `AddEvents(Collection<IUTEvent>)`<br><br>`AddEvents(IUTEvent)` |
| Required/optional | required |
| Multiple invocations | Multiple invocations are forbidden and cause an *InvalidOperationException* exception |
| Value validation | Should contain one or Collection of the `IUTEvent` objects |