ContextAttribute(String) 构造函数
定义
使用指定的名称创建 ContextAttribute 类的实例。Creates an instance of the ContextAttribute class with the specified name.
此 API 支持产品基础结构,不能在代码中直接使用。
public:
ContextAttribute(System::String ^ name);
public ContextAttribute (string name);
new System.Runtime.Remoting.Contexts.ContextAttribute : string -> System.Runtime.Remoting.Contexts.ContextAttribute
Public Sub New (name As String)
参数
- name
- String
上下文特性的名称。The name of the context attribute.