Edit

Share via


AcquireLeaseResult Class

Definition

AcquireLeaseResult class, which demonstrates result of acquiring or renewing lease operation

[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
Inheritance
AcquireLeaseResult
Attributes

Constructors

AcquireLeaseResult(AcquiredLease, ResponseCode, Exception)

Properties

AcquiredLease

Acquired lease, which will be null if acquire or renew operation failed.

FailureException

If acquiring or renewing the lease failed, this is the exception which caused it. This field would be null if operation succeed.

StatusCode

Response status

Applies to