Service Virtualization 2024 API
Service Virtualization 2024 API
Namespaces
HP.SV.DotNetRuleApi
HpsvPersistentContext Class
HpsvPersistentContext Methods
AddPersistent Method
HpsvPersistentContext
AddPersistent 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#
Copy
public
void
AddPersistent
(
string
key
,
Object
value
)
Parameters
key
Type:
System
String
The key of the value to add
value
Type:
System
Object
Associated value
Exceptions
Exception
Condition
ArgumentNullException
key
is null.
InvalidOperationException
value
is not Serializable.
See Also
Reference
HpsvPersistentContext Class
HP.SV.DotNetRuleApi Namespace
Copyright 2009-2024 Open Text