PersistentStateAttribute 類別

定義

指定套用建構函式引數的選項 IPersistentState<TState>

[System.AttributeUsage(System.AttributeTargets.Parameter)]
public class PersistentStateAttribute : Attribute, Orleans.IFacetMetadata, Orleans.Runtime.IPersistentStateConfiguration
[<System.AttributeUsage(System.AttributeTargets.Parameter)>]
type PersistentStateAttribute = class
    inherit Attribute
    interface IFacetMetadata
    interface IPersistentStateConfiguration
Public Class PersistentStateAttribute
Inherits Attribute
Implements IFacetMetadata, IPersistentStateConfiguration
繼承
PersistentStateAttribute
屬性
實作

建構函式

PersistentStateAttribute(String, String)

初始化 PersistentStateAttribute 類別的新執行個體。

屬性

StateName

取得狀態的名稱。

StorageName

取得儲存體提供者的名稱。

適用於

另請參閱