AzureBlobGrainStorage.ReadStateAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
ReadStateAsync(String, GrainReference, IGrainState) |
此存储提供程序的读取状态数据函数。 |
ReadStateAsync<T>(String, GrainId, IGrainState<T>) |
此存储提供程序的读取状态数据函数。 |
ReadStateAsync(String, GrainReference, IGrainState)
- Source:
- AzureBlobStorage.cs
此存储提供程序的读取状态数据函数。
public System.Threading.Tasks.Task ReadStateAsync (string grainType, Orleans.Runtime.GrainReference grainId, Orleans.IGrainState grainState);
abstract member ReadStateAsync : string * Orleans.Runtime.GrainReference * Orleans.IGrainState -> System.Threading.Tasks.Task
override this.ReadStateAsync : string * Orleans.Runtime.GrainReference * Orleans.IGrainState -> System.Threading.Tasks.Task
Public Function ReadStateAsync (grainType As String, grainId As GrainReference, grainState As IGrainState) As Task
参数
- grainType
- String
- grainId
- GrainReference
- grainState
- IGrainState
返回
实现
适用于
ReadStateAsync<T>(String, GrainId, IGrainState<T>)
此存储提供程序的读取状态数据函数。
public System.Threading.Tasks.Task ReadStateAsync<T> (string grainType, Orleans.Runtime.GrainId grainId, Orleans.IGrainState<T> grainState);
abstract member ReadStateAsync : string * Orleans.Runtime.GrainId * Orleans.IGrainState<'T> -> System.Threading.Tasks.Task
override this.ReadStateAsync : string * Orleans.Runtime.GrainId * Orleans.IGrainState<'T> -> System.Threading.Tasks.Task
Public Function ReadStateAsync(Of T) (grainType As String, grainId As GrainId, grainState As IGrainState(Of T)) As Task
类型参数
- T
参数
- grainType
- String
- grainId
- GrainId
- grainState
- IGrainState<T>