Table of Contents

Class ExceptionReceivedContext

Namespace
Microsoft.Azure.ServiceBus
Assembly
Microsoft.Azure.ServiceBus.dll

Context provided for ExceptionReceivedEventArgs exception raised by the client.

public class ExceptionReceivedContext
Inheritance
ExceptionReceivedContext
Inherited Members

Constructors

ExceptionReceivedContext(string, string, string, string)

Initializes a new instance of the ExceptionReceivedContext class.

public ExceptionReceivedContext(string action, string endpoint, string entityPath, string clientId)

Parameters

action string

The action associated with the exception.

endpoint string

The endpoint associated with the exception.

entityPath string

The entity path associated with the exception.

clientId string

The Client Id can be used to associate with the QueueClient, SubscriptionClient, MessageSender or MessageReceiver that encountered the exception.

Properties

Action

Gets the action associated with the event.

public string Action { get; }

Property Value

string

The action associated with the event.

ClientId

The Client Id associated with the sender, receiver or session when this exception occurred.

public string ClientId { get; }

Property Value

string

Endpoint

The namespace name used when this exception occurred.

public string Endpoint { get; }

Property Value

string

EntityPath

The entity path used when this exception occurred.

public string EntityPath { get; }

Property Value

string