Tries to re-serialize stored value. This is useful when you need to pass object between multiple service operations or multiple services.
If such object is defined within a shared script then it is internally a distinct .NET type for each service operation.
This method tries to overcome that via binary serialization/deserialization
HP.SV.DotNetRuleApi (in HP.SV.DotNetRuleApi.dll) Version: 22.214.171.12499-localBuild
public bool TryGetDeserializedValue<T>(
out T value
- Type: SystemString
The key of the value to get.
- Type: T
The value of the specified key. If the value is not present or the re-serialization fails then the value is set to default(T).
True if the value was present in the context, the re-serialization succeeded and the casting succeeded, false otherwise.