您现在访问的是微软AZURE全球版技术文档网站,若需要访问由世纪互联运营的MICROSOFT AZURE中国区技术文档网站,请访问 https://docs.azure.cn.

SessionCannotBeLockedException SessionCannotBeLockedException SessionCannotBeLockedException SessionCannotBeLockedException Class

Definition

Represents the exception that is thrown when a message cannot acquire lock on a session.

public ref class SessionCannotBeLockedException sealed : Microsoft::ServiceBus::Messaging::MessagingException
public sealed class SessionCannotBeLockedException : Microsoft.ServiceBus.Messaging.MessagingException
type SessionCannotBeLockedException = class
    inherit MessagingException
Public NotInheritable Class SessionCannotBeLockedException
Inherits MessagingException
Inheritance
SessionCannotBeLockedExceptionSessionCannotBeLockedExceptionSessionCannotBeLockedExceptionSessionCannotBeLockedException

Constructors

SessionCannotBeLockedException(String) SessionCannotBeLockedException(String) SessionCannotBeLockedException(String) SessionCannotBeLockedException(String)

Initializes a new instance of the SessionCannotBeLockedException class with a specified error message.

SessionCannotBeLockedException(String, Exception) SessionCannotBeLockedException(String, Exception) SessionCannotBeLockedException(String, Exception) SessionCannotBeLockedException(String, Exception)

Initializes a new instance of the SessionCannotBeLockedException class with a specified error message and a reference to the inner.

Properties

Data Data Data Data

Gets the data associated with the exception.

(Inherited from MessagingException)
Detail Detail Detail Detail

Gets or sets the detail information of the messaging exception.

(Inherited from MessagingException)
IsTransient IsTransient IsTransient IsTransient

Gets or sets a value indicating whether the exception is transient. Check this property to determine if the operation should be retried.

(Inherited from MessagingException)
Timestamp Timestamp Timestamp Timestamp

Gets or sets the time at which the messaging exception occurred.

(Inherited from MessagingException)

Methods

GetObjectData(SerializationInfo, StreamingContext) GetObjectData(SerializationInfo, StreamingContext) GetObjectData(SerializationInfo, StreamingContext) GetObjectData(SerializationInfo, StreamingContext)

Populates the serialization information with data about the exception.

(Inherited from MessagingException)

Extension Methods

CheckIotHubErrorCode(Exception, ErrorCode[]) CheckIotHubErrorCode(Exception, ErrorCode[]) CheckIotHubErrorCode(Exception, ErrorCode[]) CheckIotHubErrorCode(Exception, ErrorCode[])
DisablePrepareForRethrow(Exception) DisablePrepareForRethrow(Exception) DisablePrepareForRethrow(Exception) DisablePrepareForRethrow(Exception)
GetReferenceCode(Exception) GetReferenceCode(Exception) GetReferenceCode(Exception) GetReferenceCode(Exception)
IsFatal(Exception) IsFatal(Exception) IsFatal(Exception) IsFatal(Exception)
PrepareForRethrow(Exception) PrepareForRethrow(Exception) PrepareForRethrow(Exception) PrepareForRethrow(Exception)
ToStringSlim(Exception) ToStringSlim(Exception) ToStringSlim(Exception) ToStringSlim(Exception)
Unwind(Exception) Unwind(Exception) Unwind(Exception) Unwind(Exception)
Unwind(Exception, Type[]) Unwind(Exception, Type[]) Unwind(Exception, Type[]) Unwind(Exception, Type[])
Unwind<TException>(Exception) Unwind<TException>(Exception) Unwind<TException>(Exception) Unwind<TException>(Exception)
IsWrappedExceptionTransient(Exception) IsWrappedExceptionTransient(Exception) IsWrappedExceptionTransient(Exception) IsWrappedExceptionTransient(Exception)
FindInnerException<T>(Exception) FindInnerException<T>(Exception) FindInnerException<T>(Exception) FindInnerException<T>(Exception)

Applies to