IMemoryStorageGrain.DeleteStateAsync 方法

定义

重载

DeleteStateAsync(String, String, String)
DeleteStateAsync<T>(String, String)

DeleteStateAsync(String, String, String)

Source:
IMemoryStorageGrain.cs
public System.Threading.Tasks.Task DeleteStateAsync (string stateStore, string grainStoreKey, string eTag);
abstract member DeleteStateAsync : string * string * string -> System.Threading.Tasks.Task
Public Function DeleteStateAsync (stateStore As String, grainStoreKey As String, eTag As String) As Task

参数

stateStore
String

用于存储此粒度状态的存储的名称。

grainStoreKey
String

存储此粒度的密钥。

eTag
String

读取的上一个 etag。

返回

指定 grain 的存储粒度状态的更新操作的完成承诺。

适用于

DeleteStateAsync<T>(String, String)

public System.Threading.Tasks.Task DeleteStateAsync<T> (string grainStoreKey, string eTag);
abstract member DeleteStateAsync : string * string -> System.Threading.Tasks.Task
Public Function DeleteStateAsync(Of T) (grainStoreKey As String, eTag As String) As Task

类型参数

T

参数

grainStoreKey
String

存储此粒度的密钥。

eTag
String

读取的上一个 etag。

返回

指定 grain 的存储粒度状态的更新操作的完成承诺。

适用于