Class MessagingExceptionDetail
- Namespace
- Microsoft.ServiceBus.Messaging
- Assembly
- Microsoft.ServiceBus.dll
Provides the details of the messaging exception.
public sealed class MessagingExceptionDetail
- Inheritance
-
MessagingExceptionDetail
- Inherited Members
Properties
ErrorCode
Gets the error code.
public int ErrorCode { get; }
Property Value
- int
The error code.
ErrorLevel
Gets the error level.
public MessagingExceptionDetail.ErrorLevelType ErrorLevel { get; }
Property Value
- MessagingExceptionDetail.ErrorLevelType
One of the values of the MessagingExceptionDetail.ErrorLevelType enumeration.
Message
Gets the descriptive message about the exception.
public string Message { get; }
Property Value
- string
The descriptive message about the exception.
Methods
CorrelationFiltersExceeded(string)
Returns the exception details for the correlation filters exceeded error.
public static MessagingExceptionDetail CorrelationFiltersExceeded(string message)
Parameters
message
stringA descriptive message about the exception.
Returns
- MessagingExceptionDetail
The exception details for the correlation filters exceeded error.
EntityConflict(string)
Returns the exception details for the entity conflict error.
public static MessagingExceptionDetail EntityConflict(string message)
Parameters
message
stringA descriptive message about the exception.
Returns
- MessagingExceptionDetail
The exception details for the entity conflict error.
EntityConflictOperationInProgress(string)
Returns the exception details for an entity conflict in progress error. This can occur if there is already a conflicting create or delete call pending on the entity in question.
public static MessagingExceptionDetail EntityConflictOperationInProgress(string entityName)
Parameters
entityName
stringThe name of the messaging entity.
Returns
EntityGone(string)
Returns the exception details for the entity gone error.
public static MessagingExceptionDetail EntityGone(string message)
Parameters
message
stringA descriptive message about the exception.
Returns
- MessagingExceptionDetail
The exception details for the entity gone error.
EntityNotFound(string)
Returns the exception details for the entity not found error.
public static MessagingExceptionDetail EntityNotFound(string message)
Parameters
message
stringA descriptive message about the exception.
Returns
- MessagingExceptionDetail
The exception details for the entity not found error.
EntityUpdateConflict(string)
Returns the exception details for the entity update conflict error.
public static MessagingExceptionDetail EntityUpdateConflict(string entityName)
Parameters
entityName
stringThe name of the entity.
Returns
- MessagingExceptionDetail
The exception details for the entity update conflict error.
EventHubAtFullCapacity(string)
Returns the exception details when an Event Hub is at full capacity.
public static MessagingExceptionDetail EventHubAtFullCapacity(string message)
Parameters
message
stringA descriptive message about the exception.
Returns
PublisherRevoked(string)
Returns the exception details when an Event Hubs publisher has been revoked.
public static MessagingExceptionDetail PublisherRevoked(string message)
Parameters
message
stringA descriptive message about the exception.
Returns
ServerBusy(string)
Returns the exception details for the server busy error.
public static MessagingExceptionDetail ServerBusy(string message)
Parameters
message
stringA descriptive message about the exception.
Returns
- MessagingExceptionDetail
The exception details for the server busy error.
SqlFiltersExceeded(string)
Returns the exception details for the SQL filters exceeded error.
public static MessagingExceptionDetail SqlFiltersExceeded(string message)
Parameters
message
stringA descriptive message about the exception.
Returns
- MessagingExceptionDetail
The exception details for the SQL filters exceeded error.
StoreLockLost(string)
Returns the exception details for the store lock lost error.
public static MessagingExceptionDetail StoreLockLost(string message)
Parameters
message
stringA descriptive message about the exception.
Returns
- MessagingExceptionDetail
The exception details for the store lock lost error.
SubscriptionsExceeded(string)
Returns the exception details for the subscriptions exceeded error.
public static MessagingExceptionDetail SubscriptionsExceeded(string message)
Parameters
message
stringA descriptive message about the exception.
Returns
- MessagingExceptionDetail
The exception details for the subscriptions exceeded error.
UnknownDetail(string)
Returns the exception details for the unknown detail error.
public static MessagingExceptionDetail UnknownDetail(string message)
Parameters
message
stringA descriptive message about the exception.
Returns
- MessagingExceptionDetail
The exception details for the unknown detail error.
UnspecifiedInternalError(string)
Returns the exception details for the unspecified internal error.
public static MessagingExceptionDetail UnspecifiedInternalError(string message)
Parameters
message
stringA descriptive message about the exception.
Returns
- MessagingExceptionDetail
The exception details for the unspecified internal error.