Class that holds event information for task events.
Inheritance: System.EventArgs
Ejemplo 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);
     }
 }
Ejemplo 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);
 }
Ejemplo 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);
     }
 }
Ejemplo 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);
        }