Class that holds event information for task events.
Inheritance: 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
ファイル: AbstractTask.cs プロジェクト: Refactoring/Platform
 /// <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);
        }