ContextFactoryCreateApplication Method (String, String, String, String, String, ContextFactoryCacheSettings, ApplicationLoadFlags) |
Creates a new instance of the object and initializes the application.
Namespace:
NetQuarry
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public IAppContext CreateApplication(
string appKey,
string userID,
string password,
string tenantID,
string authToken,
ContextFactoryCacheSettings cacheSettings,
ApplicationLoadFlags appLoadFlags
)
Public Function CreateApplication (
appKey As String,
userID As String,
password As String,
tenantID As String,
authToken As String,
cacheSettings As ContextFactoryCacheSettings,
appLoadFlags As ApplicationLoadFlags
) As IAppContext
Parameters
- appKey
- Type: SystemString
The application key. - userID
- Type: SystemString
The User ID. - password
- Type: SystemString
The password. - tenantID
- Type: SystemString
The TenantID. - authToken
- Type: SystemString
The authorization token (from xot_service_tokens). - cacheSettings
- Type: NetQuarryContextFactoryCacheSettings
Cache settings for this application. - appLoadFlags
- Type: NetQuarryApplicationLoadFlags
Load flags to use for the application creation behavior.
Return Value
Type:
IAppContextThe created Application Context object.
See Also