共用方式為


IMemoryStorageGrain.DeleteStateAsync 方法

定義

多載

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

DeleteStateAsync(String, String, String)

來源:
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。

傳回

針對所指定粒紋之預存粒紋狀態的更新作業完成承諾。

適用於

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。

傳回

針對所指定粒紋之預存粒紋狀態的更新作業完成承諾。

適用於