Class that holds event information for task events.
Inheritance: System.EventArgs
Esempio n. 1
0
 /// <summary>
 /// Raises the TaskException event.
 /// </summary>
 /// <param name="eventArgs">The <see cref="EventHandler<TaskExceptionEventArgs>"/> that contains the event data.</param>
 protected virtual void OnTaskException(TaskExceptionEventArgs eventArgs)
 {
     if (TaskException != null)
     {
         TaskException(this, eventArgs);
     }
 }
Esempio n. 2
0
 /// <summary>
 /// Raises the TaskException event.
 /// </summary>
 /// <param name="eventArgs">The <see cref="EventHandler{TaskExceptionEventArgs}"/> that contains the event data.</param>
 protected virtual void OnTaskException(TaskExceptionEventArgs eventArgs)
 {
     this.TaskException?.Invoke(this, eventArgs);
 }
Esempio n. 3
0
 /// <summary>
 /// Raises the TaskException event.
 /// </summary>
 /// <param name="eventArgs">The <see cref="EventHandler<TaskExceptionEventArgs>"/> that contains the event data.</param>
 protected virtual void OnTaskException(TaskExceptionEventArgs eventArgs)
 {
     if (TaskException != null)
     {
         TaskException(this, eventArgs);
     }
 }
Esempio n. 4
0
		/// <summary>
		/// Raises the TaskException event.
		/// </summary>
		/// <param name="eventArgs">The <see cref="EventHandler{TaskExceptionEventArgs}"/> that contains the event data.</param>
		protected virtual void OnTaskException(TaskExceptionEventArgs eventArgs)
        {
	        this.TaskException?.Invoke(this, eventArgs);
        }