你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
LeaseLostException 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
LeaseLostException() |
使用默认值初始化 LeaseLostException 类的新实例。 |
LeaseLostException(Lease) |
使用指定的租约初始化 类的新实例 LeaseLostException 。 |
LeaseLostException(String) |
使用指定的错误消息初始化 类的新实例 LeaseLostException 。 |
LeaseLostException(Lease, Exception) |
使用指定的租约和导致异常的错误初始化 类的新实例 LeaseLostException 。 |
LeaseLostException(SerializationInfo, StreamingContext) |
使用指定的信息和上下文初始化 类的新实例 LeaseLostException 。 |
LeaseLostException(String, Exception) |
使用指定的错误消息和内部异常初始化 类的新实例 LeaseLostException 。 |
LeaseLostException()
LeaseLostException(Lease)
使用指定的租约初始化 类的新实例 LeaseLostException 。
public LeaseLostException (Microsoft.ServiceBus.Messaging.Lease lease);
new Microsoft.ServiceBus.Messaging.LeaseLostException : Microsoft.ServiceBus.Messaging.Lease -> Microsoft.ServiceBus.Messaging.LeaseLostException
Public Sub New (lease As Lease)
参数
- lease
- Lease
消息传送租约。
适用于
LeaseLostException(String)
使用指定的错误消息初始化 类的新实例 LeaseLostException 。
public LeaseLostException (string message);
new Microsoft.ServiceBus.Messaging.LeaseLostException : string -> Microsoft.ServiceBus.Messaging.LeaseLostException
Public Sub New (message As String)
参数
- message
- String
与错误关联的消息。
适用于
LeaseLostException(Lease, Exception)
使用指定的租约和导致异常的错误初始化 类的新实例 LeaseLostException 。
public LeaseLostException (Microsoft.ServiceBus.Messaging.Lease lease, Exception innerException);
new Microsoft.ServiceBus.Messaging.LeaseLostException : Microsoft.ServiceBus.Messaging.Lease * Exception -> Microsoft.ServiceBus.Messaging.LeaseLostException
Public Sub New (lease As Lease, innerException As Exception)
参数
- lease
- Lease
消息传送租约。
- innerException
- Exception
导致异常的错误。
适用于
LeaseLostException(SerializationInfo, StreamingContext)
使用指定的信息和上下文初始化 类的新实例 LeaseLostException 。
protected LeaseLostException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.ServiceBus.Messaging.LeaseLostException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.ServiceBus.Messaging.LeaseLostException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
参数
- info
- SerializationInfo
有关异常的序列化信息。
- context
- StreamingContext
关于来源和目标的上下文信息
适用于
LeaseLostException(String, Exception)
使用指定的错误消息和内部异常初始化 类的新实例 LeaseLostException 。
public LeaseLostException (string message, Exception innerException);
new Microsoft.ServiceBus.Messaging.LeaseLostException : string * Exception -> Microsoft.ServiceBus.Messaging.LeaseLostException
Public Sub New (message As String, innerException As Exception)
参数
- message
- String
与错误关联的消息。
- innerException
- Exception
导致异常的错误。
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈