EnvironmentVariable.TempPath Field

Applies To: Windows 8.1

Assessments can use this parameter to determine where it can store temporary data and state while the assessment is running. For example, if the assessment includes rebooting the system, the assessment needs to record its state before rebooting the system so it knows where to resume when the assessment is invoked again. Such state information should be recorded in this temporary location. AXE will use the standard Windows Temporary directory as root. This lets Windows clean up temporary data in case AXE fails to due to a crash or other failure. AXE will recursively delete all the data in this directory after the assessment as exited. Note that there is a job flag that disables this deletion. This is designed for debugging assessment problems during development.

Namespace: Microsoft.Assessments.Runtime
Assembly: Microsoft.Assessments.Core (in Microsoft.Assessments.Core.dll)

Usage

'Usage
Dim value As String

value = EnvironmentVariable.TempPath

Syntax

'Declaration
Public Const TempPath As String
public const string TempPath
public:
literal String^ TempPath
public static final String TempPath
public const var TempPath : String

Platforms

Development Platforms

Windows 8.1

See Also

Reference

EnvironmentVariable Class
EnvironmentVariable Members
Microsoft.Assessments.Runtime Namespace