1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327
|
<?xml version="1.0" encoding="utf-8"?>
<Type Name="NativeObjectSecurity" FullName="System.Security.AccessControl.NativeObjectSecurity">
<TypeSignature Language="C#" Value="public abstract class NativeObjectSecurity : System.Security.AccessControl.CommonObjectSecurity" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi abstract beforefieldinit NativeObjectSecurity extends System.Security.AccessControl.CommonObjectSecurity" />
<AssemblyInfo>
<AssemblyName>mscorlib</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Security.AccessControl.CommonObjectSecurity</BaseTypeName>
</Base>
<Interfaces />
<Docs>
<remarks>To be added.</remarks>
<since version=".NET 2.0" />
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Provides the ability to control access to native objects without direct manipulation of Access Control Lists (ACLs). Native object types are defined by the <see cref="T:System.Security.AccessControl.ResourceType" /> enumeration.</para>
</summary>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="protected NativeObjectSecurity (bool isContainer, System.Security.AccessControl.ResourceType resourceType);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig specialname rtspecialname instance void .ctor(bool isContainer, valuetype System.Security.AccessControl.ResourceType resourceType) cil managed" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="isContainer" Type="System.Boolean" />
<Parameter Name="resourceType" Type="System.Security.AccessControl.ResourceType" />
</Parameters>
<Docs>
<remarks>To be added.</remarks>
<since version=".NET 2.0" />
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Initializes a new instance of the <see cref="T:System.Security.AccessControl.NativeObjectSecurity" /> class with the specified values.</para>
</summary>
<param name="isContainer">
<attribution license="cc4" from="Microsoft" modified="false" />true if the new <see cref="T:System.Security.AccessControl.NativeObjectSecurity" /> object is a container object.</param>
<param name="resourceType">
<attribution license="cc4" from="Microsoft" modified="false" />The type of securable object with which the new <see cref="T:System.Security.AccessControl.NativeObjectSecurity" /> object is associated.</param>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="protected NativeObjectSecurity (bool isContainer, System.Security.AccessControl.ResourceType resourceType, System.Runtime.InteropServices.SafeHandle handle, System.Security.AccessControl.AccessControlSections includeSections);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig specialname rtspecialname instance void .ctor(bool isContainer, valuetype System.Security.AccessControl.ResourceType resourceType, class System.Runtime.InteropServices.SafeHandle handle, valuetype System.Security.AccessControl.AccessControlSections includeSections) cil managed" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="isContainer" Type="System.Boolean" />
<Parameter Name="resourceType" Type="System.Security.AccessControl.ResourceType" />
<Parameter Name="handle" Type="System.Runtime.InteropServices.SafeHandle" />
<Parameter Name="includeSections" Type="System.Security.AccessControl.AccessControlSections" />
</Parameters>
<Docs>
<since version=".NET 2.0" />
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>When persisting a <see cref="T:System.Security.AccessControl.NativeObjectSecurity" /> object, if the value of the <paramref name="includeSections" /> parameter passed to the <see cref="M:System.Security.AccessControl.NativeObjectSecurity.Persist" /> method is not identical to the value of the <paramref name="includeSections" /> parameter passed to the constructor used to create that <see cref="T:System.Security.AccessControl.NativeObjectSecurity" /> object, sections of the persisted <see cref="T:System.Security.AccessControl.NativeObjectSecurity" /> object can contain unpredictable values. For example, if a constructor is called with an <paramref name="includeSections" /> value of <see cref="F:System.Security.AccessControl.AccessControlSections.Access" />, and later a <see cref="M:System.Security.AccessControl.NativeObjectSecurity.Persist" /> method is called on that object with an <paramref name="includeSections" /> value of <see cref="F:System.Security.AccessControl.AccessControlSections.All" />, the resulting persisted <see cref="T:System.Security.AccessControl.NativeObjectSecurity" /> object will contain unpredictable values for its audit rules, group, and owner.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Initializes a new instance of the <see cref="T:System.Security.AccessControl.NativeObjectSecurity" /> class with the specified values. We recommend that the values of the <paramref name="includeSections" /> parameters passed to the constructor and persist methods be identical. For more information, see Remarks.</para>
</summary>
<param name="isContainer">
<attribution license="cc4" from="Microsoft" modified="false" />true if the new <see cref="T:System.Security.AccessControl.NativeObjectSecurity" /> object is a container object.</param>
<param name="resourceType">
<attribution license="cc4" from="Microsoft" modified="false" />The type of securable object with which the new <see cref="T:System.Security.AccessControl.NativeObjectSecurity" /> object is associated.</param>
<param name="handle">
<attribution license="cc4" from="Microsoft" modified="false" />The handle of the securable object with which the new <see cref="T:System.Security.AccessControl.NativeObjectSecurity" /> object is associated.</param>
<param name="includeSections">
<attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Security.AccessControl.AccessControlSections" /> enumeration values that specifies the sections of the security descriptor (access rules, audit rules, owner, primary group) of the securable object to include in this <see cref="T:System.Security.AccessControl.NativeObjectSecurity" /> object.</param>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="protected NativeObjectSecurity (bool isContainer, System.Security.AccessControl.ResourceType resourceType, System.Security.AccessControl.NativeObjectSecurity.ExceptionFromErrorCode exceptionFromErrorCode, object exceptionContext);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig specialname rtspecialname instance void .ctor(bool isContainer, valuetype System.Security.AccessControl.ResourceType resourceType, class System.Security.AccessControl.NativeObjectSecurity/ExceptionFromErrorCode exceptionFromErrorCode, object exceptionContext) cil managed" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="isContainer" Type="System.Boolean" />
<Parameter Name="resourceType" Type="System.Security.AccessControl.ResourceType" />
<Parameter Name="exceptionFromErrorCode" Type="System.Security.AccessControl.NativeObjectSecurity+ExceptionFromErrorCode" />
<Parameter Name="exceptionContext" Type="System.Object" />
</Parameters>
<Docs>
<param name="isContainer">To be added.</param>
<param name="resourceType">To be added.</param>
<param name="exceptionFromErrorCode">To be added.</param>
<param name="exceptionContext">To be added.</param>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
<since version=".NET 2.0" />
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="protected NativeObjectSecurity (bool isContainer, System.Security.AccessControl.ResourceType resourceType, string name, System.Security.AccessControl.AccessControlSections includeSections);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig specialname rtspecialname instance void .ctor(bool isContainer, valuetype System.Security.AccessControl.ResourceType resourceType, string name, valuetype System.Security.AccessControl.AccessControlSections includeSections) cil managed" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="isContainer" Type="System.Boolean" />
<Parameter Name="resourceType" Type="System.Security.AccessControl.ResourceType" />
<Parameter Name="name" Type="System.String" />
<Parameter Name="includeSections" Type="System.Security.AccessControl.AccessControlSections" />
</Parameters>
<Docs>
<since version=".NET 2.0" />
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>When persisting a <see cref="T:System.Security.AccessControl.NativeObjectSecurity" /> object, if the value of the <paramref name="includeSections" /> parameter passed to the <see cref="M:System.Security.AccessControl.NativeObjectSecurity.Persist" /> method is not identical to the value of the <paramref name="includeSections" /> parameter passed to the constructor used to create that <see cref="T:System.Security.AccessControl.NativeObjectSecurity" /> object, sections of the persisted <see cref="T:System.Security.AccessControl.NativeObjectSecurity" /> object can contain unpredictable values. For example, if a constructor is called with an <paramref name="includeSections" /> value of <see cref="F:System.Security.AccessControl.AccessControlSections.Access" />, and later a <see cref="M:System.Security.AccessControl.NativeObjectSecurity.Persist" /> method is called on that object with an <paramref name="includeSections" /> value of <see cref="F:System.Security.AccessControl.AccessControlSections.All" />, the resulting persisted <see cref="T:System.Security.AccessControl.NativeObjectSecurity" /> object will contain unpredictable values for its audit rules, group, and owner.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Initializes a new instance of the <see cref="T:System.Security.AccessControl.NativeObjectSecurity" /> class with the specified values. We recommend that the values of the <paramref name="includeSections" /> parameters passed to the constructor and persist methods be identical. For more information, see Remarks.</para>
</summary>
<param name="isContainer">
<attribution license="cc4" from="Microsoft" modified="false" />true if the new <see cref="T:System.Security.AccessControl.NativObjectSecurity" /> object is a container object.</param>
<param name="resourceType">
<attribution license="cc4" from="Microsoft" modified="false" />The type of securable object with which the new <see cref="T:System.Security.AccessControl.NativeObjectSecurity" /> object is associated.</param>
<param name="name">
<attribution license="cc4" from="Microsoft" modified="false" />The name of the securable object with which the new <see cref="T:System.Security.AccessControl.NativeObjectSecurity" /> object is associated.</param>
<param name="includeSections">
<attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Security.AccessControl.AccessControlSections" /> enumeration values that specifies the sections of the security descriptor (access rules, audit rules, owner, primary group) of the securable object to include in this <see cref="T:System.Security.AccessControl.NativeObjectSecurity" /> object.</param>
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="protected NativeObjectSecurity (bool isContainer, System.Security.AccessControl.ResourceType resourceType, System.Runtime.InteropServices.SafeHandle handle, System.Security.AccessControl.AccessControlSections includeSections, System.Security.AccessControl.NativeObjectSecurity.ExceptionFromErrorCode exceptionFromErrorCode, object exceptionContext);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig specialname rtspecialname instance void .ctor(bool isContainer, valuetype System.Security.AccessControl.ResourceType resourceType, class System.Runtime.InteropServices.SafeHandle handle, valuetype System.Security.AccessControl.AccessControlSections includeSections, class System.Security.AccessControl.NativeObjectSecurity/ExceptionFromErrorCode exceptionFromErrorCode, object exceptionContext) cil managed" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="isContainer" Type="System.Boolean" />
<Parameter Name="resourceType" Type="System.Security.AccessControl.ResourceType" />
<Parameter Name="handle" Type="System.Runtime.InteropServices.SafeHandle" />
<Parameter Name="includeSections" Type="System.Security.AccessControl.AccessControlSections" />
<Parameter Name="exceptionFromErrorCode" Type="System.Security.AccessControl.NativeObjectSecurity+ExceptionFromErrorCode" />
<Parameter Name="exceptionContext" Type="System.Object" />
</Parameters>
<Docs>
<param name="isContainer">To be added.</param>
<param name="resourceType">To be added.</param>
<param name="handle">To be added.</param>
<param name="includeSections">To be added.</param>
<param name="exceptionFromErrorCode">To be added.</param>
<param name="exceptionContext">To be added.</param>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
<since version=".NET 2.0" />
</Docs>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="protected NativeObjectSecurity (bool isContainer, System.Security.AccessControl.ResourceType resourceType, string name, System.Security.AccessControl.AccessControlSections includeSections, System.Security.AccessControl.NativeObjectSecurity.ExceptionFromErrorCode exceptionFromErrorCode, object exceptionContext);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig specialname rtspecialname instance void .ctor(bool isContainer, valuetype System.Security.AccessControl.ResourceType resourceType, string name, valuetype System.Security.AccessControl.AccessControlSections includeSections, class System.Security.AccessControl.NativeObjectSecurity/ExceptionFromErrorCode exceptionFromErrorCode, object exceptionContext) cil managed" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters>
<Parameter Name="isContainer" Type="System.Boolean" />
<Parameter Name="resourceType" Type="System.Security.AccessControl.ResourceType" />
<Parameter Name="name" Type="System.String" />
<Parameter Name="includeSections" Type="System.Security.AccessControl.AccessControlSections" />
<Parameter Name="exceptionFromErrorCode" Type="System.Security.AccessControl.NativeObjectSecurity+ExceptionFromErrorCode" />
<Parameter Name="exceptionContext" Type="System.Object" />
</Parameters>
<Docs>
<param name="isContainer">To be added.</param>
<param name="resourceType">To be added.</param>
<param name="name">To be added.</param>
<param name="includeSections">To be added.</param>
<param name="exceptionFromErrorCode">To be added.</param>
<param name="exceptionContext">To be added.</param>
<summary>To be added.</summary>
<remarks>To be added.</remarks>
<since version=".NET 2.0" />
</Docs>
</Member>
<Member MemberName="Persist">
<MemberSignature Language="C#" Value="protected override sealed void Persist (System.Runtime.InteropServices.SafeHandle handle, System.Security.AccessControl.AccessControlSections includeSections);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance void Persist(class System.Runtime.InteropServices.SafeHandle handle, valuetype System.Security.AccessControl.AccessControlSections includeSections) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="handle" Type="System.Runtime.InteropServices.SafeHandle" />
<Parameter Name="includeSections" Type="System.Security.AccessControl.AccessControlSections" />
</Parameters>
<Docs>
<since version=".NET 2.0" />
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>When persisting a <see cref="T:System.Security.AccessControl.NativeObjectSecurity" /> object, if the value of the <paramref name="includeSections" /> parameter passed to the <see cref="M:System.Security.AccessControl.NativeObjectSecurity.Persist" /> method is not identical to the value of the <paramref name="includeSections" /> parameter passed to the constructor used to create that <see cref="T:System.Security.AccessControl.NativeObjectSecurity" /> object, sections of the persisted <see cref="T:System.Security.AccessControl.NativeObjectSecurity" /> object can contain unpredictable values. For example, if a constructor is called with an <paramref name="includeSections" /> value of <see cref="F:System.Security.AccessControl.AccessControlSections.Access" />, and later a <see cref="M:System.Security.AccessControl.NativeObjectSecurity.Persist" /> method is called on that object with an <paramref name="includeSections" /> value of <see cref="F:System.Security.AccessControl.AccessControlSections.All" />, the resulting persisted <see cref="T:System.Security.AccessControl.NativeObjectSecurity" /> object will contain unpredictable values for its audit rules, group, and owner.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Saves the specified sections of the security descriptor associated with this <see cref="T:System.Security.AccessControl.NativeObjectSecurity" /> object to permanent storage. We recommend that the values of the <paramref name="includeSections" /> parameters passed to the constructor and persist methods be identical. For more information, see Remarks.</para>
</summary>
<param name="handle">
<attribution license="cc4" from="Microsoft" modified="false" />The handle of the securable object with which this <see cref="T:System.Security.AccessControl.NativeObjectSecurity" /> object is associated.</param>
<param name="includeSections">
<attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Security.AccessControl.AccessControlSections" /> enumeration values that specifies the sections of the security descriptor (access rules, audit rules, owner, primary group) of the securable object to save.</param>
</Docs>
</Member>
<Member MemberName="Persist">
<MemberSignature Language="C#" Value="protected override sealed void Persist (string name, System.Security.AccessControl.AccessControlSections includeSections);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig virtual instance void Persist(string name, valuetype System.Security.AccessControl.AccessControlSections includeSections) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="name" Type="System.String" />
<Parameter Name="includeSections" Type="System.Security.AccessControl.AccessControlSections" />
</Parameters>
<Docs>
<since version=".NET 2.0" />
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>When persisting a <see cref="T:System.Security.AccessControl.NativeObjectSecurity" /> object, if the value of the <paramref name="includeSections" /> parameter passed to the <see cref="M:System.Security.AccessControl.NativeObjectSecurity.Persist" /> method is not identical to the value of the <paramref name="includeSections" /> parameter passed to the constructor used to create that <see cref="T:System.Security.AccessControl.NativeObjectSecurity" /> object, sections of the persisted <see cref="T:System.Security.AccessControl.NativeObjectSecurity" /> object can contain unpredictable values. For example, if a constructor is called with an <paramref name="includeSections" /> value of <see cref="F:System.Security.AccessControl.AccessControlSections.Access" />, and later a <see cref="M:System.Security.AccessControl.NativeObjectSecurity.Persist" /> method is called on that object with an <paramref name="includeSections" /> value of <see cref="F:System.Security.AccessControl.AccessControlSections.All" />, the resulting persisted <see cref="T:System.Security.AccessControl.NativeObjectSecurity" /> object will contain unpredictable values for its audit rules, group, and owner.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Saves the specified sections of the security descriptor associated with this <see cref="T:System.Security.AccessControl.NativeObjectSecurity" /> object to permanent storage. We recommend that the values of the <paramref name="includeSections" /> parameters passed to the constructor and persist methods be identical. For more information, see Remarks.</para>
</summary>
<param name="name">
<attribution license="cc4" from="Microsoft" modified="false" />The name of the securable object with which this <see cref="T:System.Security.AccessControl.NativeObjectSecurity" /> object is associated.</param>
<param name="includeSections">
<attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Security.AccessControl.AccessControlSections" /> enumeration values that specifies the sections of the security descriptor (access rules, audit rules, owner, primary group) of the securable object to save.</param>
</Docs>
</Member>
<Member MemberName="Persist">
<MemberSignature Language="C#" Value="protected void Persist (System.Runtime.InteropServices.SafeHandle handle, System.Security.AccessControl.AccessControlSections includeSections, object exceptionContext);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig instance void Persist(class System.Runtime.InteropServices.SafeHandle handle, valuetype System.Security.AccessControl.AccessControlSections includeSections, object exceptionContext) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="handle" Type="System.Runtime.InteropServices.SafeHandle" />
<Parameter Name="includeSections" Type="System.Security.AccessControl.AccessControlSections" />
<Parameter Name="exceptionContext" Type="System.Object" />
</Parameters>
<Docs>
<since version=".NET 2.0" />
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>When persisting a <see cref="T:System.Security.AccessControl.NativeObjectSecurity" /> object, if the value of the <paramref name="includeSections" /> parameter passed to the <see cref="M:System.Security.AccessControl.NativeObjectSecurity.Persist" /> method is not identical to the value of the <paramref name="includeSections" /> parameter passed to the constructor used to create that <see cref="T:System.Security.AccessControl.NativeObjectSecurity" /> object, sections of the persisted <see cref="T:System.Security.AccessControl.NativeObjectSecurity" /> object can contain unpredictable values. For example, if a constructor is called with an <paramref name="includeSections" /> value of <see cref="F:System.Security.AccessControl.AccessControlSections.Access" />, and later a <see cref="M:System.Security.AccessControl.NativeObjectSecurity.Persist" /> method is called on that object with an <paramref name="includeSections" /> value of <see cref="F:System.Security.AccessControl.AccessControlSections.All" />, the resulting persisted <see cref="T:System.Security.AccessControl.NativeObjectSecurity" /> object will contain unpredictable values for its audit rules, group, and owner.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Saves the specified sections of the security descriptor associated with this <see cref="T:System.Security.AccessControl.NativeObjectSecurity" /> object to permanent storage. We recommend that the values of the <paramref name="includeSections" /> parameters passed to the constructor and persist methods be identical. For more information, see Remarks.</para>
</summary>
<param name="handle">
<attribution license="cc4" from="Microsoft" modified="false" />The handle of the securable object with which this <see cref="T:System.Security.AccessControl.NativeObjectSecurity" /> object is associated.</param>
<param name="includeSections">
<attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Security.AccessControl.AccessControlSections" /> enumeration values that specifies the sections of the security descriptor (access rules, audit rules, owner, primary group) of the securable object to save.</param>
<param name="exceptionContext">
<attribution license="cc4" from="Microsoft" modified="false" />An object that contains contextual information about the source or destination of the exception.</param>
</Docs>
</Member>
<Member MemberName="Persist">
<MemberSignature Language="C#" Value="protected void Persist (string name, System.Security.AccessControl.AccessControlSections includeSections, object exceptionContext);" />
<MemberSignature Language="ILAsm" Value=".method familyhidebysig instance void Persist(string name, valuetype System.Security.AccessControl.AccessControlSections includeSections, object exceptionContext) cil managed" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="name" Type="System.String" />
<Parameter Name="includeSections" Type="System.Security.AccessControl.AccessControlSections" />
<Parameter Name="exceptionContext" Type="System.Object" />
</Parameters>
<Docs>
<since version=".NET 2.0" />
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>When persisting a <see cref="T:System.Security.AccessControl.NativeObjectSecurity" /> object, if the value of the <paramref name="includeSections" /> parameter passed to the <see cref="M:System.Security.AccessControl.NativeObjectSecurity.Persist" /> method is not identical to the value of the <paramref name="includeSections" /> parameter passed to the constructor used to create that <see cref="T:System.Security.AccessControl.NativeObjectSecurity" /> object, sections of the persisted <see cref="T:System.Security.AccessControl.NativeObjectSecurity" /> object can contain unpredictable values. For example, if a constructor is called with an <paramref name="includeSections" /> value of <see cref="F:System.Security.AccessControl.AccessControlSections.Access" />, and later a <see cref="M:System.Security.AccessControl.NativeObjectSecurity.Persist" /> method is called on that object with an <paramref name="includeSections" /> value of <see cref="F:System.Security.AccessControl.AccessControlSections.All" />, the resulting persisted <see cref="T:System.Security.AccessControl.NativeObjectSecurity" /> object will contain unpredictable values for its audit rules, group, and owner.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Saves the specified sections of the security descriptor associated with this <see cref="T:System.Security.AccessControl.NativeObjectSecurity" /> object to permanent storage. We recommend that the values of the <paramref name="includeSections" /> parameters passed to the constructor and persist methods be identical. For more information, see Remarks.</para>
</summary>
<param name="name">
<attribution license="cc4" from="Microsoft" modified="false" />The name of the securable object with which this <see cref="T:System.Security.AccessControl.NativeObjectSecurity" /> object is associated.</param>
<param name="includeSections">
<attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Security.AccessControl.AccessControlSections" /> enumeration values that specifies the sections of the security descriptor (access rules, audit rules, owner, primary group) of the securable object to save.</param>
<param name="exceptionContext">
<attribution license="cc4" from="Microsoft" modified="false" />An object that contains contextual information about the source or destination of the exception.</param>
</Docs>
</Member>
</Members>
</Type>
|