Persistate API documentation
ExecutionContext Class
NamespacesPersistateExecutionContext

[This is preliminary documentation and is subject to change.]

This class provides information about the context that the current Persistate application is running in.
Declaration Syntax
C#
public static class ExecutionContext
Members
All MembersProperties



IconMemberDescription
ExecutingFrameworkVersion
Obtains the .Net Framework runtime version that the currently running Persistate assembly was compiled for.

IsServer
Gets a value indicating whether the current application is running in a Persistate Server.

IsStandAlone
Gets a value indicating whether the current application is running in stand-alone mode, rather than Viewer-Server.

IsUnix
Obtains a value indicating whether the current operating system is a Unix variant

IsViewer
Gets a value indicating whether the current application is running in a Persistate Viewer.

RunTime
Tne current .Net runtime as an integer equal to major version * 10 + minor version. for example 20, 30, 35, 40, etc.

Remarks
This determines whether the application is stand-alone, running in a Server or running in a Viewer.
Inheritance Hierarchy
Object
ExecutionContext

Assembly: Persistate (Module: Persistate) Version: 0.6.1.20 (0.6.1.20)