共用方式為


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

回應狀態

適用於