Click or drag to resize

HpsvPersistentContextAddPersistent Method

Adds or Replaces the value for a given key, the value will survive SV restart

Namespace:  HP.SV.DotNetRuleApi
Assembly:  HP.SV.DotNetRuleApi (in HP.SV.DotNetRuleApi.dll) Version: 6.0.0.72-
Syntax
C#
public void AddPersistent(
	string key,
	Object value
)

Parameters

key
Type: SystemString
The key of the value to add
value
Type: SystemObject
Associated value
Exceptions
ExceptionCondition
ArgumentNullExceptionkey is null.
InvalidOperationExceptionvalue is not Serializable.
See Also