HostProtectionAttribute.ExternalThreading 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定一個值,指示外部執行緒是否被暴露。
public:
property bool ExternalThreading { bool get(); void set(bool value); };
public bool ExternalThreading { get; set; }
member this.ExternalThreading : bool with get, set
Public Property ExternalThreading As Boolean
屬性值
true如果外部螺紋暴露;否則,。 false 預設值為 false。
備註
暴露外部執行緒的程式碼會創建或操作非自身執行緒,這可能會對主機造成傷害。