Partager via


JobExecutionInfo.WorkloadTempDirectory Property

Applies To: Windows 8.1

The path that workloads should use to store both the temporary and results files. Workloads should not produce any files because workloads are used to exercise the system under test while another assessment measures the system. All of the files written out by workloads are deleted when the workload finishes.

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

Usage

'Usage
Dim instance As JobExecutionInfo
Dim value As String

value = instance.WorkloadTempDirectory

instance.WorkloadTempDirectory = value

Syntax

'Declaration
Public Property WorkloadTempDirectory As String
public string WorkloadTempDirectory { get; set; }
public:
property String^ WorkloadTempDirectory {
    String^ get ();
    void set (String^ __set_formal);
}
/** @property */
public String get_WorkloadTempDirectory ()

/** @property */
public void set_WorkloadTempDirectory (String __set_formal)
public function get WorkloadTempDirectory () : String

public function set WorkloadTempDirectory (__set_formal : String)

Property Value

Returns String.

Remarks

The path that workloads should use for their temporary and results files. If the solution is configured in Workload mode, this member must not be NULL. Otherwise, this member must be NULL.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows 8.1

See Also

Reference

JobExecutionInfo Class
JobExecutionInfo Members
Microsoft.Assessments.Hosting Namespace