AcquiredLease 类

定义

已获取租约

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

构造函数

AcquiredLease(String, TimeSpan, String, DateTime)

构造函数

AcquiredLease(String)

构造函数

属性

Duration

获得的租约的持续时间

ResourceKey

租用附加到的资源密钥

StartTimeUtc

此租约的调用方开始时间,即获取或续订租约的时间

Token

租用令牌,如果获取或续订租约失败,该令牌将为 null

适用于