GrainState<T> Class
Definition
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.
Default implementation of IGrainState<T>.
[Orleans.GenerateSerializer]
[System.Serializable]
public sealed class GrainState<T> : Orleans.IGrainState<T>
[System.Serializable]
public class GrainState<T> : Orleans.IGrainState
[<Orleans.GenerateSerializer>]
[<System.Serializable>]
type GrainState<'T> = class
interface IGrainState<'T>
[<System.Serializable>]
type GrainState<'T> = class
interface IGrainState
Public NotInheritable Class GrainState(Of T)
Implements IGrainState(Of T)
Public Class GrainState(Of T)
Implements IGrainState
Type Parameters
- T
The type of application level payload.
- Inheritance
-
GrainState<T>
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| GrainState<T>() |
Initializes a new instance of the GrainState<T> class. |
| GrainState<T>(T, String) |
Initializes a new instance of the GrainState<T> class. |
| GrainState<T>(T) |
Initializes a new instance of the GrainState<T> class. |
Fields
| Name | Description |
|---|---|
| State | |
Properties
| Name | Description |
|---|---|
| ETag |
Gets or sets the ETag that allows optimistic concurrency checks at the storage provider level. |
| RecordExists |
Gets or sets a value indicating whether the record exists in storage. |
| State |
Gets or sets the state. |
| Type |
Type of the grain state |
Explicit Interface Implementations
| Name | Description |
|---|---|
| IGrainState.State | |