你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

LeaseLostException 类

定义

表示服务租约丢失时发生的异常。

[System.Serializable]
public class LeaseLostException : Exception
[<System.Serializable>]
type LeaseLostException = class
    inherit Exception
Public Class LeaseLostException
Inherits Exception
继承
LeaseLostException
派生
属性

构造函数

LeaseLostException()

使用默认值初始化 LeaseLostException 类的新实例。

LeaseLostException(Lease)

使用指定的租约初始化 类的新实例 LeaseLostException

LeaseLostException(Lease, Exception)

使用指定的租约和导致异常的错误初始化 类的新实例 LeaseLostException

LeaseLostException(SerializationInfo, StreamingContext)

使用指定的信息和上下文初始化 类的新实例 LeaseLostException

LeaseLostException(String)

使用指定的错误消息初始化 类的新实例 LeaseLostException

LeaseLostException(String, Exception)

使用指定的错误消息和内部异常初始化 类的新实例 LeaseLostException

属性

Lease

获取或设置服务租约。

方法

GetObjectData(SerializationInfo, StreamingContext)

使用将目标对象序列化所需的数据填充 SerializationInfo

适用于