Edytuj

Udostępnij za pośrednictwem


GrainState Class

Definition

Caution

This API is now deprecated.

Base class for generated grain state classes.

[System.Obsolete]
[System.Serializable]
public abstract class GrainState
[<System.Obsolete>]
[<System.Serializable>]
type GrainState = class
Public MustInherit Class GrainState
Inheritance
GrainState
Attributes

Constructors

GrainState()

Initializes a new instance of GrainState.

GrainState(String)

Initializes a new instance of GrainState.

Properties

Etag

Opaque value set by the storage provider representing an 'Etag' setting for the last time the state data was read from backing store.

Methods

AsDictionary()

Converts this property bag into a dictionary. This is a default Reflection-based implementation that can be overridden in the subclass or generated code.

SetAll(IDictionary<String,Object>)

Populates this property bag from a dictionary. This is a default Reflection-based implementation that can be overridden in the subclass or generated code.

Applies to