PutContext
Sets the value for the given name in the context properties. If there is an existing value present for the entity identified by the name, it is replaced. "Context" properties include the following constants: account ID, account password, service name, and service method.
Syntax
Sub putContext(name As String, value As String)
Parameters
- Name—the name with which the specified value is to be associated
- Value—value to be associated with the specific name.
Results
None.
Example
Dim requestMsg As New G1CLIENTLib.Message
requestMsg.putContext
requestMsg.CONTEXT_ACOUNT_ID, "admin"
requestMsg.putContext
requestMsg.CONTEXT_ACOUNT_PASSWORD, "admin"