ThingWorx Edge .NET SDK > ThingWorx Edge .NET SDK Reference > .NET SDK: VirtualThing Class > Triggering an Event with the .NET SDK
  
Triggering an Event with the .NET SDK
Triggering an event that the ThingWorx platform will receive (if subscribed) is straight forward.
* 
Triggering an event does not send the event to the ThingWorx platform. To send the event to the platform, you must call the updateSubscribedProperties() method of the VirtualThing class.
The example below triggers an event that returns an error message with a timestamp:
ValueCollection eventInfo = new ValueCollection();
eventInfo.Add("ErrorMessage", new StringPrimitive("There was an error…"));
base.queueEvent("ErrorEvent", DateTime.Now, eventInfo);
* 
In the reference to the base object in base.queueEvent above, base is an instance of VirtualThing.