共用方式為


GrainState<T> 類別

定義

IGrainState<T> 的預設實作。

[System.Serializable]
public class GrainState<T> : Orleans.IGrainState
[System.Serializable]
[Orleans.GenerateSerializer]
public sealed class GrainState<T> : Orleans.IGrainState<T>
[<System.Serializable>]
type GrainState<'T> = class
    interface IGrainState
[<System.Serializable>]
[<Orleans.GenerateSerializer>]
type GrainState<'T> = class
    interface IGrainState<'T>
Public Class GrainState(Of T)
Implements IGrainState
Public NotInheritable Class GrainState(Of T)
Implements IGrainState(Of T)

類型參數

T

應用層級承載的類型。

繼承
GrainState<T>
屬性
實作

建構函式

GrainState<T>()

初始化 GrainState<T> 類別的新執行個體。

GrainState<T>(T)

初始化 GrainState<T> 類別的新執行個體。

GrainState<T>(T, String)

初始化 GrainState<T> 類別的新執行個體。

欄位

State

IGrainState<T> 的預設實作。

屬性

ETag

允許在儲存體提供者層級進行開放式平行存取檢查的 e-tag。

RecordExists

取得或設定值,指出記錄是否存在於儲存體中。

State

取得或設定狀態。

Type

粒紋狀態的類型

明確介面實作

IGrainState.State

IGrainState<T> 的預設實作。

適用於