GetContext
Gets the value of the context entity identified by name in the context section of the message. "Context" entities include the following constants: account ID, account password, service name, and service method.
Syntax
Function getContext(name As String) As String
Parameters
- Name—the name whose associated value is to be returned
Results
String — the value of the named entity or empty string if the named entity does not exist.
Example
Dim msg As New G1CLIENTLib.Message
Dim accountID As String
accountID = msg.getContext(msg.CONTEXT_ACCOUNT_ID)