ContextFactoryCreateApplication Method (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 userAuthToken,
ContextFactoryCacheSettings cacheSettings,
ApplicationLoadFlags applicationLoadFlags
)
Public Function CreateApplication (
appKey As String,
userAuthToken As String,
cacheSettings As ContextFactoryCacheSettings,
applicationLoadFlags As ApplicationLoadFlags
) As IAppContext
Parameters
- appKey
- Type: SystemString
The application key - userAuthToken
- Type: SystemString
The authorization token (from xot_service_tokens). - cacheSettings
- Type: NetQuarryContextFactoryCacheSettings
Cache settings. - applicationLoadFlags
- Type: NetQuarryApplicationLoadFlags
The application load options.
Return Value
Type:
IAppContextThe created Application Context object.
See Also