Udostępnij za pośrednictwem


LoadTestContext.IsLocalRun Property

Gets a value that indicates whether the test was run locally or remotely.

Namespace:  Microsoft.VisualStudio.TestTools.LoadTesting
Assembly:  Microsoft.VisualStudio.QualityTools.LoadTestFramework (in Microsoft.VisualStudio.QualityTools.LoadTestFramework.dll)

Syntax

'Declaration
Public Property IsLocalRun As Boolean
'Usage
Dim instance As LoadTestContext 
Dim value As Boolean 

value = instance.IsLocalRun

instance.IsLocalRun = value
public bool IsLocalRun { get; internal set; }
public:
property bool IsLocalRun {
    bool get ();
    void set (bool value);
}
public function get IsLocalRun () : boolean 
public function set IsLocalRun (value : boolean)

Property Value

Type: System.Boolean
true if the test was run locally; otherwise, false.

.NET Framework Security

See Also

Reference

LoadTestContext Class

LoadTestContext Members

Microsoft.VisualStudio.TestTools.LoadTesting Namespace