IContextAttribute 接口

定义

标识上下文属性。

此 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 类从所有上下文属性公开。 这些属性提供驻留在上下文中的属性,并为在该上下文中创建的对象强制实施特定策略。 有关使用属性的详细信息,请参阅 “属性”。

方法

名称 说明
GetPropertiesForNewContext(IConstructionCallMessage)

此 API 支持产品基础结构,不能在代码中直接使用。

将上下文属性返回到给定消息中的调用方。

IsContextOK(Context, IConstructionCallMessage)

此 API 支持产品基础结构,不能在代码中直接使用。

返回一个布尔值,该值指示指定的上下文是否满足上下文属性的要求。

适用于