TestRunConfiguration.HostProcessPlatform 屬性
取得或設定主機系統的處理器架構。
命名空間: Microsoft.VisualStudio.TestTools.Common
組件: Microsoft.VisualStudio.QualityTools.Common (在 Microsoft.VisualStudio.QualityTools.Common.dll 中)
語法
'宣告
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)
屬性值
型別:System.Reflection.ProcessorArchitecture
處理器架構。
例外狀況
例外狀況 | 條件 |
---|---|
HostProcessorPlatformMustBeMSILOrX86 | 不等於 MSIL 或 x86 的處理器結構。 |
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。