public AccessRuleFactory ( IdentityReference identityReference, int accessMask, bool isInherited, InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags, AccessControlType type ) : AccessRule | ||
identityReference | IdentityReference | |
accessMask | int | |
isInherited | bool | |
inheritanceFlags | InheritanceFlags | |
propagationFlags | PropagationFlags | |
type | AccessControlType | |
return | AccessRule |
public override AccessRule AccessRuleFactory(IdentityReference identityReference,
int accessMask, bool isInherited, InheritanceFlags inheritanceFlags,
PropagationFlags propagationFlags, AccessControlType type)
{
// Throw if inheritance flags or propagation flags set. Have to include in signature
// since this is an override
if (inheritanceFlags != InheritanceFlags.None)
{
throw new ArgumentException(SR.Argument_NonContainerInvalidAnyFlag, nameof(inheritanceFlags));
}
if (propagationFlags != PropagationFlags.None)
{
throw new ArgumentException(SR.Argument_NonContainerInvalidAnyFlag, nameof(propagationFlags));
}
return new PipeAccessRule(
identityReference,
accessMask,
isInherited,
type);
}
PipeSecurity::AccessRuleFactory ( System identityReference, int accessMask, bool isInherited, System inheritanceFlags, System propagationFlags, System type ) : System.Security.AccessControl.AccessRule |