IContextAttribute 介面
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
識別一個上下文屬性。
此 API 支援此產品基礎結構,但無法直接用於程式碼之中。
public interface class IContextAttribute
public interface IContextAttribute
[System.Runtime.InteropServices.ComVisible(true)]
public interface IContextAttribute
type IContextAttribute = interface
[<System.Runtime.InteropServices.ComVisible(true)>]
type IContextAttribute = interface
Public Interface IContextAttribute
- 衍生
- 屬性
備註
該 IContextAttribute 類別會從所有上下文屬性中被揭露。 屬性貢獻一個位於情境中的屬性,並為該情境中建立的物件執行特定政策。 欲了解更多屬性的使用資訊,請參閱屬性。
方法
| 名稱 | Description |
|---|---|
| GetPropertiesForNewContext(IConstructionCallMessage) |
此 API 支援此產品基礎結構,但無法直接用於程式碼之中。 在給定訊息中回傳給呼叫者的上下文屬性。 |
| IsContextOK(Context, IConstructionCallMessage) |
此 API 支援此產品基礎結構,但無法直接用於程式碼之中。 回傳一個布林值,表示指定的上下文是否符合上下文屬性的要求。 |