Edit

Share via


PersistentStateAttribute Class

Definition

Specifies options for the IPersistentState<TState> constructor argument which it is applied to.

[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
Inheritance
PersistentStateAttribute
Attributes
Implements

Constructors

PersistentStateAttribute(String, String)

Initializes a new instance of the PersistentStateAttribute class.

Properties

StateName

Gets the name of the state.

StorageName

Gets the name of the storage provider.

Applies to

See also