IServiceOriented.ServiceBus.Services.TimerEvent.TimerEvent C# (CSharp) Method

TimerEvent() public method

public TimerEvent ( System.Guid eventId, System.Action action, System.TimeSpan interval, System.DateTime startDate, object state ) : System
eventId System.Guid
action System.Action
interval System.TimeSpan
startDate System.DateTime
state object
return System
        public TimerEvent(Guid eventId, Action action, TimeSpan interval, DateTime startDate, object state)
        {
            if (action == null) throw new ArgumentNullException("Action must not be null.");
            if (interval == TimeSpan.Zero)
            {
                throw new ArgumentException("Interval must not be zero");
            }
            EventId = eventId;
            Action = action;
            StartDate = startDate;
            Interval = interval;
            State = state;
        }

Same methods

TimerEvent::TimerEvent ( System.Action action, System.TimeSpan interval ) : System
TimerEvent::TimerEvent ( System.Action action, System.TimeSpan interval, System.DateTime startDate ) : System
TimerEvent::TimerEvent ( System.Action action, System.TimeSpan interval, System.DateTime startDate, object state ) : System
TimerEvent::TimerEvent ( System.Action action, System.TimeSpan interval, object state ) : System