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);
        }