Class that holds event information for task events.
Наследование: System.EventArgs
Пример #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);
     }
 }
Пример #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);
 }
Пример #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);
     }
 }
Пример #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);
        }