[This is preliminary documentation and is subject to change.]
The App type exposes the following members.Methods
| Name | Description | |
|---|---|---|
| LocalizedTimeToUniversalTime |
Converts localized time to universal time as of TimeLocation property
| |
| UniversalTimeToLocalizedTime |
Converts universal time to local time as of TimeLocation property
|
Properties
| Name | Description | |
|---|---|---|
| Active |
Returns true when application instance is active and working. This property returns false as soon as application finalization starts on shutdown
Use to exit long-running loops and such
| |
| Available |
Returns true when application container is active non-NOPApplication instance
| |
| ConfigRoot |
References application configuration root
| |
| CurrentCallUser |
Returns the current call context user
| |
| DataStore |
References application data store
| |
| EventTimer |
References event timer that maintains and runs scheduled Event instances
| |
| Glue |
References glue implementation that may be used to "glue" remote instances/processes/contracts together
| |
| Instance | ||
| InstanceID |
Returns unique identifier of this running instance
| |
| Instrumentation |
References instrumentation for this application instance
| |
| LocalizedTime |
Returns current time localized per TimeLocation
| |
| Log |
References app log
| |
| Name |
Returns application name
| |
| ObjectStore |
References object store that may be used to persist object graphs between volatile application shutdown cycles
| |
| SecurityManager |
References security manager that performs user authentication based on passed credentials and other security-related global tasks
| |
| Session |
Returns current session, this is a shortuct to ExecutionContext.Session
| |
| StartTime |
Returns timestamp when application started as localized app time
| |
| Throttling |
References throttling for this application instance
| |
| TimeLocation |
Returns the location
| |
| TimeSource |
References time source - an entity that supplies local and UTC times. The concrete implementation
may elect to get accurate times from the network or other external precision time sources (i.e. NASA atomic clock)
|
See Also