LeaseLostException Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Exception occurred when lease is lost, that would typically happen when it is taken by another host. Other cases: communication failure, number of retries reached, lease not found.
[System.Serializable]
public class LeaseLostException : Exception
[<System.Serializable>]
type LeaseLostException = class
inherit Exception
Public Class LeaseLostException
Inherits Exception
- Inheritance
-
LeaseLostException
- Attributes
Constructors
LeaseLostException() |
Initializes a new instance of the LeaseLostException class. |
LeaseLostException(ILease, Exception, Boolean) |
Initializes a new instance of the LeaseLostException class using the specified lease, inner exception, and a flag indicating whether lease is gone. |
LeaseLostException(ILease) |
Initializes a new instance of the LeaseLostException class using the specified lease. |
LeaseLostException(SerializationInfo, StreamingContext) |
Initializes a new instance of the LeaseLostException class using default values. |
LeaseLostException(String, Exception) |
Initializes a new instance of the LeaseLostException class using error message and inner exception. |
LeaseLostException(String) |
Initializes a new instance of the LeaseLostException class using error message. |
Properties
IsGone |
Gets a value indicating whether lease doesn't exist. |
Lease |
Gets the lost lease. |
Methods
GetObjectData(SerializationInfo, StreamingContext) |
Sets the System.Runtime.Serialization.SerializationInfo with information about the exception. |