ControllerEventLog Property |
Gets the
EventLog class of the controller.
Namespace:
ABB.Robotics.Controllers
Assembly:
ABB.Robotics.Controllers (in ABB.Robotics.Controllers.dll) Version: 6.5.129.0
Syntax public EventLog EventLog { get; }
Return Value
Type:
EventLogAn
EventLog reference that can be used to access objects in the EventLog domain in the controller.
Exceptions Examples This example uses the
EventLog property of the
Controller class to get available
EventLogCategory.
The
EventLogCategory are added to a
ListBox.
Controller c = new Controller();
EventLogCategory[] categories = c.EventLog.GetCategories();
foreach (EventLogCategory elc in categories)
{
listBox1.Items.Add(elc.Name);
}
See Also