/// <summary>
 /// Creates a new object.
 /// </summary>
 /// <param name="connectorName"></param>
 /// <param name="type"></param>
 /// <param name="message"></param>
 /// <param name="exception"></param>
 protected ConnectorActivityEvent(string connectorName, ConnectorActivityType type, string message, TimestampedException exception)
 {
     Id            = Interlocked.Increment(ref _NextId);
     ConnectorName = connectorName;
     Time          = DateTime.UtcNow;
     Type          = type;
     Message       = message;
     Exception     = exception;
 }
 /// <summary>
 /// Creates a new object.
 /// </summary>
 /// <param name="connectorName"></param>
 /// <param name="type"></param>
 /// <param name="message"></param>
 public ConnectorActivityEvent(string connectorName, ConnectorActivityType type, string message) : this(connectorName, type, message, null)
 {
 }