IRehydrationContext
interface
Namespace: Orleans.Runtime
Contains the state of a grain activation which is in the process of being rehydrated after moving from another location.
public interface IRehydrationContextProperties
KeysGets the keys in the context.
Methods
TryGetBytes(string, ReadOnlySequence<byte>)Tries to get a sequence of bytes from the rehydration context, associated with the provided key.TryGetValue(string, T?)Tries to get a value from the rehydration context, associated with the provided key, deserializing it usingSerializer. If a serializer is found for the value, and the key is present, then the value is deserialized and the method returnstrue. If no serializer exists or the key has already been added, then the value is not added and the method returnsfalse.
