Share via


LeaseLostException Class

Definition

Represents an exception that occurs when the service lease has been lost.

[System.Serializable]
public class LeaseLostException : Exception
[<System.Serializable>]
type LeaseLostException = class
    inherit Exception
Public Class LeaseLostException
Inherits Exception
Inheritance
LeaseLostException
Derived
Attributes

Constructors

LeaseLostException()

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

LeaseLostException(Lease, Exception)

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

LeaseLostException(Lease)

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

LeaseLostException(SerializationInfo, StreamingContext)

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

LeaseLostException(String, Exception)

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

LeaseLostException(String)

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

Properties

Lease

Gets or sets the service lease.

Methods

GetObjectData(SerializationInfo, StreamingContext)

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

Applies to