6 instantiations of PrivilegeNotHeldException
mscorlib (5)
system\security\accesscontrol\privilege.cs (1)
566
throw new
PrivilegeNotHeldException
( privileges[this.luid] as string );
system\security\accesscontrol\win32.cs (2)
174
throw new
PrivilegeNotHeldException
( Privilege.Security );
345
throw new
PrivilegeNotHeldException
( Privilege.Security );
system\security\cryptography\utils.cs (2)
275
throw new
PrivilegeNotHeldException
( "SeSecurityPrivilege" );
326
throw new
PrivilegeNotHeldException
("SeSecurityPrivilege");
System.IdentityModel (1)
System\IdentityModel\Privilege.cs (1)
199
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
PrivilegeNotHeldException
(this.privilege));
5 references to PrivilegeNotHeldException
mscorlib (4)
system\security\accesscontrol\objectsecurity.cs (1)
312
catch (
PrivilegeNotHeldException
)
system\security\accesscontrol\win32.cs (2)
134
catch (
PrivilegeNotHeldException
)
312
catch (
PrivilegeNotHeldException
)
system\security\principal\windowsidentity.cs (1)
1010
catch (
PrivilegeNotHeldException
) { }
System.IdentityModel (1)
System\IdentityModel\Selectors\X509SecurityTokenAuthenticator.cs (1)
161
catch (
PrivilegeNotHeldException
ex)