Share via


ProcessErrorEventArgs Class

Definition

Contains information about the entity whose processing threw an exception, as well as the exception that has been thrown.

public sealed class ProcessErrorEventArgs : EventArgs
type ProcessErrorEventArgs = class
    inherit EventArgs
Public NotInheritable Class ProcessErrorEventArgs
Inherits EventArgs
Inheritance
ProcessErrorEventArgs

Constructors

ProcessErrorEventArgs(Exception, ServiceBusErrorSource, String, String, String, CancellationToken)

Initializes a new instance of the ProcessErrorEventArgs class.

Properties

CancellationToken

Gets the processor's CancellationToken instance which will be cancelled when StopProcessingAsync(CancellationToken) is called.

EntityPath

Gets the entity path associated with the error event.

ErrorSource

Gets the source associated with the error.

Exception

Gets the exception that triggered the call to the error event handler.

FullyQualifiedNamespace

Gets the namespace name associated with the error event. This is likely to be similar to {yournamespace}.servicebus.windows.net.

Identifier

Gets the identifier of the processor that raised this event.

Applies to