Udostępnij za pośrednictwem


Właściwość TestRunConfiguration.HostProcessPlatform —

Pobiera lub ustawia architektury procesora systemu hosta.

Przestrzeń nazw:  Microsoft.VisualStudio.TestTools.Common
Zestaw:  Microsoft.VisualStudio.QualityTools.Common (w Microsoft.VisualStudio.QualityTools.Common.dll)

Składnia

'Deklaracja
Public Property HostProcessPlatform As ProcessorArchitecture
public ProcessorArchitecture HostProcessPlatform { get; set; }
public:
property ProcessorArchitecture HostProcessPlatform {
    ProcessorArchitecture get ();
    void set (ProcessorArchitecture value);
}
member HostProcessPlatform : ProcessorArchitecture with get, set
function get HostProcessPlatform () : ProcessorArchitecture
function set HostProcessPlatform (value : ProcessorArchitecture)

Wartość właściwości

Typ: System.Reflection.ProcessorArchitecture
Architektura procesora.

Wyjątki

Wyjątek Warunek
HostProcessorPlatformMustBeMSILOrX86

Architektura procesora nie równa się MSIL lub X 86.

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

TestRunConfiguration Klasa

Przestrzeń nazw Microsoft.VisualStudio.TestTools.Common

ProcessorArchitecture