ObjectSecurity 构造函数
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 ObjectSecurity 类的新实例。
ObjectSecurity() |
初始化 ObjectSecurity 类的新实例。 |
ObjectSecurity(CommonSecurityDescriptor) |
初始化 ObjectSecurity 类的新实例。 |
ObjectSecurity(Boolean, Boolean) |
初始化 ObjectSecurity 类的新实例。 |
初始化 ObjectSecurity 类的新实例。
protected:
ObjectSecurity();
protected ObjectSecurity ();
Protected Sub New ()
适用于
.NET 9 和其他版本
产品 | 版本 |
---|---|
.NET | Core 1.0, Core 1.1, 6 (package-provided), 6, 7, 8, 9 |
.NET Framework | 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided) |
Windows Desktop | 3.0, 3.1, 5 |
初始化 ObjectSecurity 类的新实例。
protected:
ObjectSecurity(System::Security::AccessControl::CommonSecurityDescriptor ^ securityDescriptor);
protected ObjectSecurity (System.Security.AccessControl.CommonSecurityDescriptor securityDescriptor);
new System.Security.AccessControl.ObjectSecurity : System.Security.AccessControl.CommonSecurityDescriptor -> System.Security.AccessControl.ObjectSecurity
Protected Sub New (securityDescriptor As CommonSecurityDescriptor)
参数
- securityDescriptor
- CommonSecurityDescriptor
适用于
.NET 9 和其他版本
产品 | 版本 |
---|---|
.NET | Core 1.0, Core 1.1, 6 (package-provided), 6, 7, 8, 9 |
.NET Framework | 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided) |
Windows Desktop | 3.0, 3.1, 5 |
初始化 ObjectSecurity 类的新实例。
protected:
ObjectSecurity(bool isContainer, bool isDS);
protected ObjectSecurity (bool isContainer, bool isDS);
new System.Security.AccessControl.ObjectSecurity : bool * bool -> System.Security.AccessControl.ObjectSecurity
Protected Sub New (isContainer As Boolean, isDS As Boolean)
参数
- isContainer
- Boolean
如果新true
对象是容器对象,则为 ObjectSecurity 。
- isDS
- Boolean
如果新 ObjectSecurity 对象是容器对象,则为 True。
适用于
.NET 9 和其他版本
产品 | 版本 |
---|---|
.NET | Core 1.0, Core 1.1, 6 (package-provided), 6, 7, 8, 9 |
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided) |
Windows Desktop | 3.0, 3.1, 5 |