Service Virtualization 2024 API
Service Virtualization 2024 API
Namespaces
HP.SV.DotNetRuleApi
HpsvContext Class
HpsvContext Methods
Add Method
Clear Method
ContainsKey Method
Remove Method
TryGetDeserializedValue(T) Method
TryGetValue(T) Method
HpsvContext
Add Method
Adds or Replaces the value for a given key
Namespace:
HP.SV.DotNetRuleApi
Assembly:
HP.SV.DotNetRuleApi (in HP.SV.DotNetRuleApi.dll) Version: 6.0.0.72-
Syntax
C#
Copy
public
void
Add
(
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
HpsvContext Class
HP.SV.DotNetRuleApi Namespace
Copyright 2009-2024 Open Text