Partager via


TestRunConfiguration.HostProcessPlatform, propriété

Obtient ou définit l'architecture de processeur du système hôte.

Espace de noms :  Microsoft.VisualStudio.TestTools.Common
Assembly :  Microsoft.VisualStudio.QualityTools.Common (dans Microsoft.VisualStudio.QualityTools.Common.dll)

Syntaxe

'Déclaration
Public Property HostProcessPlatform As ProcessorArchitecture
    Get
    Set
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)

Valeur de propriété

Type : System.Reflection.ProcessorArchitecture
L'architecture du processeur.

Exceptions

Exception Condition
HostProcessorPlatformMustBeMSILOrX86

Architecture du processeur non égale au code MSIL ou au x86.

Sécurité .NET Framework

Voir aussi

Référence

TestRunConfiguration Classe

Microsoft.VisualStudio.TestTools.Common, espace de noms

ProcessorArchitecture