Redigera

Dela via


AzureBlobGrainStorage.WriteStateAsync Method

Definition

Overloads

WriteStateAsync(String, GrainReference, IGrainState)

Write state data function for this storage provider.

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

Write state data function for this storage provider.

WriteStateAsync(String, GrainReference, IGrainState)

Source:
AzureBlobStorage.cs

Write state data function for this storage provider.

public System.Threading.Tasks.Task WriteStateAsync (string grainType, Orleans.Runtime.GrainReference grainId, 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 Function WriteStateAsync (grainType As String, grainId As GrainReference, grainState As IGrainState) As Task

Parameters

grainType
String
grainId
GrainReference
grainState
IGrainState

Returns

Implements

Applies to

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

Write state data function for this storage provider.

public 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 Function WriteStateAsync(Of T) (grainType As String, grainId As GrainId, grainState As IGrainState(Of T)) As Task

Type Parameters

T

Parameters

grainType
String
grainId
GrainId
grainState
IGrainState<T>

Returns

Implements

Applies to