예제 #1
0
 /// <summary>
 /// Called when [work exception].
 /// </summary>
 /// <param name="exception">The exception.</param>
 protected virtual void OnWorkException(WorkException exception)
 {
     if (RemoteWorkException != null)
     {
         RemoteWorkException(this, new WorkExceptionEventArgs(exception));
     }
 }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="WorkExceptionEventArgs"/> class.
 /// </summary>
 /// <param name="exception">The exception.</param>
 public WorkExceptionEventArgs(WorkException exception)
 {
     Exception = exception;
 }