Edit

Share via


GrainState<T> Class

Definition

Default implementation of 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)

Type Parameters

T

The type of application level payload.

Inheritance
GrainState<T>
Attributes
Implements

Constructors

GrainState<T>()

Initializes a new instance of the GrainState<T> class.

GrainState<T>(T)

Initializes a new instance of the GrainState<T> class.

GrainState<T>(T, String)

Initializes a new instance of the GrainState<T> class.

Fields

State

Properties

ETag

An e-tag 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

IGrainState.State

Applies to