Class EntityNameHelper
- Namespace
- Microsoft.Azure.ServiceBus
- Assembly
- Microsoft.Azure.ServiceBus.dll
This class can be used to format the path for different Service Bus entity types.
public static class EntityNameHelper
- Inheritance
-
EntityNameHelper
- Inherited Members
Methods
FormatDeadLetterPath(string)
Formats the dead letter path for either a queue, or a subscription.
public static string FormatDeadLetterPath(string entityPath)
Parameters
entityPath
stringThe name of the queue, or path of the subscription.
Returns
- string
The path as a string of the dead letter entity.
FormatSubQueuePath(string, string)
Formats the subqueue path for either a queue, or a subscription.
public static string FormatSubQueuePath(string entityPath, string subQueueName)
Parameters
Returns
- string
The path as a string of the subqueue entity.
FormatSubscriptionPath(string, string)
Formats the subscription path, based on the topic path and subscription name.
public static string FormatSubscriptionPath(string topicPath, string subscriptionName)
Parameters
Returns
FormatTransferDeadLetterPath(string)
Utility method that creates the name for the transfer dead letter receiver, specified by entityPath
public static string FormatTransferDeadLetterPath(string entityPath)
Parameters
entityPath
string