Compartir a través de


MemoryGrainStorage.ClearStateAsync Método

Definición

Sobrecargas

ClearStateAsync(String, GrainReference, IGrainState)

Eliminar o borrar la función de datos de estado para este proveedor de almacenamiento.

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

Eliminar o borrar la función de datos para esta instancia de almacenamiento.

ClearStateAsync(String, GrainReference, IGrainState)

Source:
MemoryStorage.cs

Eliminar o borrar la función de datos de estado para este proveedor de almacenamiento.

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

Parámetros

grainType
String
grainReference
GrainReference
grainState
IGrainState

Devoluciones

Implementaciones

Se aplica a

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

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

Eliminar o borrar la función de datos para esta instancia de almacenamiento.

public virtual System.Threading.Tasks.Task ClearStateAsync<T> (string grainType, Orleans.Runtime.GrainId grainId, Orleans.IGrainState<T> grainState);
abstract member ClearStateAsync : string * Orleans.Runtime.GrainId * Orleans.IGrainState<'T> -> System.Threading.Tasks.Task
override this.ClearStateAsync : string * Orleans.Runtime.GrainId * Orleans.IGrainState<'T> -> System.Threading.Tasks.Task
Public Overridable Function ClearStateAsync(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>

Copia del último objeto de datos de estado conocido para este grano.

Devoluciones

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

Implementaciones

Se aplica a