Пример #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ProcessErrorEventArgs" /> class.
 /// </summary>
 ///
 /// <param name="exception">The exception that this event data belongs to.</param>
 /// <param name="action">The action associated with the message.</param>
 /// <param name="fullyQualifiedNamespace">The endpoint used when this exception occurred.</param>
 /// <param name="entityPath">The entity path used when this exception occurred.</param>
 public ProcessErrorEventArgs(
     Exception exception,
     ExceptionReceivedEventArgsAction action,
     string fullyQualifiedNamespace,
     string entityPath)
 {
     Exception = exception;
     Action    = action;
     FullyQualifiedNamespace = fullyQualifiedNamespace;
     EntityPath = entityPath;
 }
 /// <summary>Initializes a new instance of the <see cref="ProcessErrorEventArgs" /> class.</summary>
 /// <param name="exception">The exception that this event data belongs to.</param>
 /// <param name="action">The action associated with the event.</param>
 /// <param name="endpoint">The endpoint used when this exception occurred.</param>
 /// <param name="entityName">The entity path used when this exception occurred.</param>
 /// <param name="clientId">The Client Id can be used to associate with the  cref="QueueClient"/>,  cref="SubscriptionClient"/>,  cref="MessageSender"/> or  cref="MessageReceiver"/>that encountered the exception.</param>
 public ProcessErrorEventArgs(Exception exception, ExceptionReceivedEventArgsAction action, string endpoint, string entityName, string clientId)
 {
     this.Exception = exception;
     //this.ExceptionReceivedContext = new ExceptionReceivedContext(action, endpoint, entityName, clientId);
 }