Share via


LeaseCannotBeAcquiredException Class

Definition

[System.Serializable]
public class LeaseCannotBeAcquiredException : Microsoft.ServiceBus.Messaging.LeaseLostException
[<System.Serializable>]
type LeaseCannotBeAcquiredException = class
    inherit LeaseLostException
Public Class LeaseCannotBeAcquiredException
Inherits LeaseLostException
Inheritance
LeaseCannotBeAcquiredException
Attributes

Constructors

LeaseCannotBeAcquiredException()

Initializes a new instance of the LeaseCannotBeAcquiredException class using default values.

LeaseCannotBeAcquiredException(Lease, Exception)

Initializes a new instance of the LeaseCannotBeAcquiredException class using specified lease and the error that caused the exception.

LeaseCannotBeAcquiredException(Lease)

Initializes a new instance of the LeaseCannotBeAcquiredException class using specified lease.

LeaseCannotBeAcquiredException(SerializationInfo, StreamingContext)

Initializes a new instance of the LeaseCannotBeAcquiredException class using specified information and context.

LeaseCannotBeAcquiredException(String, Exception)

Initializes a new instance of the LeaseCannotBeAcquiredException class using specified error message and inner exception.

LeaseCannotBeAcquiredException(String)

Initializes a new instance of the LeaseCannotBeAcquiredException class using specified error message.

Properties

Lease

Gets or sets the service lease.

(Inherited from LeaseLostException)

Methods

GetObjectData(SerializationInfo, StreamingContext)

Populates a SerializationInfo with the data needed to serialize the target object.

Applies to