IDehydrationContext Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Records the state of a grain activation which is in the process of being dehydrated for migration to another location.
public interface IDehydrationContext
type IDehydrationContext = interface
Public Interface IDehydrationContext
Properties
Keys |
Gets the keys in the context. |
Methods
AddBytes(String, ReadOnlySpan<Byte>) |
Adds a sequence of bytes to the dehydration context, associating the sequence with the provided key. |
AddBytes<T>(String, Action<T,IBufferWriter<Byte>>, T) |
Adds a sequence of bytes to the dehydration context, associating the sequence with the provided key. |
TryAddValue<T>(String, T) |
Attempts to a value to the dehydration context, associated with the provided key, serializing it using Serializer.
If a serializer is found for the value, and the key has not already been added, then the value is added and the method returns |