Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
PersistentStateAttribute Class
Definition
- Namespace:
- Orleans.Runtime
- Assembly:
- Orleans.Runtime.dll
- Assembly:
- Orleans.Runtime.Abstractions.dll
- Package:
- Microsoft.Orleans.Runtime v10.0.0
- Package:
- Microsoft.Orleans.Runtime.Abstractions v2.4.5
- Package:
- Microsoft.Orleans.Runtime.Abstractions v3.6.5
- Package:
- Microsoft.Orleans.Runtime v7.2.5
- Package:
- Microsoft.Orleans.Runtime v8.0.0
- Package:
- Microsoft.Orleans.Runtime v8.1.0
- Package:
- Microsoft.Orleans.Runtime v8.2.0
- Package:
- Microsoft.Orleans.Runtime v9.0.0
- Package:
- Microsoft.Orleans.Runtime v9.1.2
- Source:
- PersistentStateAttribute.cs
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
| Name | Description |
|---|---|
| PersistentStateAttribute(String, String) |
Initializes a new instance of the PersistentStateAttribute class. |
Properties
| Name | Description |
|---|---|
| StateName |
Gets the name of the state. |
| StorageName |
Gets the name of the storage provider. |
