AcquireLeaseResult 类

定义

AcquireLeaseResult 类,演示获取或续订租约操作的结果

[Orleans.Concurrency.Immutable]
public class AcquireLeaseResult
[Orleans.GenerateSerializer]
[Orleans.Immutable]
public sealed class AcquireLeaseResult
[<Orleans.Concurrency.Immutable>]
type AcquireLeaseResult = class
[<Orleans.GenerateSerializer>]
[<Orleans.Immutable>]
type AcquireLeaseResult = class
Public Class AcquireLeaseResult
Public NotInheritable Class AcquireLeaseResult
继承
AcquireLeaseResult
属性

构造函数

AcquireLeaseResult(AcquiredLease, ResponseCode, Exception)

AcquireLeaseResult 类,演示获取或续订租约操作的结果

属性

AcquiredLease

获取的租约,如果获取或续订操作失败,则为 null。

FailureException

如果获取或续订租约失败,则这是导致租约的异常。 如果操作成功,此字段将为 null。

StatusCode

响应状态

适用于