IStorageSerializationPicker.PickSerializer 方法

定义

使用给定参数选取序列化程序。

public Orleans.Storage.SerializationChoice PickSerializer (string serviceId, string storageProviderInstanceName, string grainType, Orleans.Runtime.GrainReference grainReference, Orleans.IGrainState grainState, string tag = default);
abstract member PickSerializer : string * string * string * Orleans.Runtime.GrainReference * Orleans.IGrainState * string -> Orleans.Storage.SerializationChoice
Public Function PickSerializer (serviceId As String, storageProviderInstanceName As String, grainType As String, grainReference As GrainReference, grainState As IGrainState, Optional tag As String = Nothing) As SerializationChoice

参数

serviceId
String

当前服务的 ID。

storageProviderInstanceName
String

请求的存储提供程序。

grainType
String

粒度的类型。

grainReference
GrainReference

粒度引用。

grainState
IGrainState

粒度状态。

tag
String

存储参数可用于“带外”协定的可选标记参数。

返回

如果找不到匹配项,则为反序列化程序或 null

适用于