Compartir a través de


MemoryGrainStorage.WriteStateAsync Método

Definición

Sobrecargas

WriteStateAsync(String, GrainReference, IGrainState)

Escriba la función de datos de estado para este proveedor de almacenamiento.

WriteStateAsync<T>(String, GrainId, IGrainState<T>)

Escriba la función de datos para esta instancia de almacenamiento.

WriteStateAsync(String, GrainReference, IGrainState)

Source:
MemoryStorage.cs

Escriba la función de datos de estado para este proveedor de almacenamiento.

public virtual System.Threading.Tasks.Task WriteStateAsync (string grainType, Orleans.Runtime.GrainReference grainReference, Orleans.IGrainState grainState);
abstract member WriteStateAsync : string * Orleans.Runtime.GrainReference * Orleans.IGrainState -> System.Threading.Tasks.Task
override this.WriteStateAsync : string * Orleans.Runtime.GrainReference * Orleans.IGrainState -> System.Threading.Tasks.Task
Public Overridable Function WriteStateAsync (grainType As String, grainReference As GrainReference, grainState As IGrainState) As Task

Parámetros

grainType
String
grainReference
GrainReference
grainState
IGrainState

Devoluciones

Implementaciones

Se aplica a

WriteStateAsync<T>(String, GrainId, IGrainState<T>)

Source:
MemoryStorage.cs
Source:
MemoryStorage.cs
Source:
MemoryStorage.cs
Source:
MemoryStorage.cs

Escriba la función de datos para esta instancia de almacenamiento.

public virtual System.Threading.Tasks.Task WriteStateAsync<T> (string grainType, Orleans.Runtime.GrainId grainId, Orleans.IGrainState<T> grainState);
abstract member WriteStateAsync : string * Orleans.Runtime.GrainId * Orleans.IGrainState<'T> -> System.Threading.Tasks.Task
override this.WriteStateAsync : string * Orleans.Runtime.GrainId * Orleans.IGrainState<'T> -> System.Threading.Tasks.Task
Public Overridable Function WriteStateAsync(Of T) (grainType As String, grainId As GrainId, grainState As IGrainState(Of T)) As Task

Parámetros de tipo

T

Tipo de estado de grano.

Parámetros

grainType
String
grainId
GrainId

Id. de grano

grainState
IGrainState<T>

Objeto de datos de estado que se va a escribir para este grano.

Devoluciones

Promesa de finalización para la operación de escritura en el grano especificado.

Implementaciones

Se aplica a