Edytuj

Udostępnij za pośrednictwem


IStorageSerializationPicker.PickDeserializer Method

Definition

Picks a deserializer using the given parameters.

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

Parameters

serviceId
String

The ID of the current service.

storageProviderInstanceName
String

The requesting storage provider.

grainType
String

The type of grain.

grainReference
GrainReference

The grain reference.

grainState
IGrainState

The grain state.

tag
String

An optional tag parameter that might be used by the storage parameter for "out-of-band" contracts.

Returns

A serializer or null if not match was found.

Applies to