SessionCannotBeLockedException Class

Definition

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

[System.Serializable]
public sealed class SessionCannotBeLockedException : Microsoft.ServiceBus.Messaging.MessagingException
[<System.Serializable>]
type SessionCannotBeLockedException = class
    inherit MessagingException
Public NotInheritable Class SessionCannotBeLockedException
Inherits MessagingException
Inheritance
SessionCannotBeLockedException
Attributes

Constructors

SessionCannotBeLockedException(String)

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

SessionCannotBeLockedException(String, Exception)

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

Properties

Data

Gets the data associated with the exception.

(Inherited from MessagingException)
Detail

Gets or sets the detail information of the messaging exception.

(Inherited from MessagingException)
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

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

(Inherited from MessagingException)

Methods

GetObjectData(SerializationInfo, StreamingContext)

Populates the serialization information with data about the exception.

(Inherited from MessagingException)

Applies to