41 instantiations of PrincipalOperationException
System.DirectoryServices.AccountManagement (41)
System\DirectoryServices\AccountManagement\AD\ADAMStoreCtx.cs (3)
81
throw new
PrincipalOperationException
(
272
throw new
PrincipalOperationException
(SR.ADAMStoreUnableToPopulateSchemaList);
293
throw new
PrincipalOperationException
(SR.ADAMStoreUnableToPopulateSchemaList);
System\DirectoryServices\AccountManagement\AD\ADDNLinkedAttrSet.cs (2)
594
throw new
PrincipalOperationException
(SR.ADStoreCtxCantRetrieveObjectSidForCrossStore);
715
throw new
PrincipalOperationException
(SR.ADStoreCtxFailedFindCrossStoreTarget);
System\DirectoryServices\AccountManagement\AD\ADStoreCtx.cs (6)
624
throw new
PrincipalOperationException
(
1242
throw new
PrincipalOperationException
(e.Message, e);
1247
throw new
PrincipalOperationException
(e.Message, e);
2061
throw new
PrincipalOperationException
(SR.ADStoreCtxCantRetrieveObjectSidForCrossStore);
2114
throw new
PrincipalOperationException
(
2146
throw new
PrincipalOperationException
(SR.ADStoreCtxFailedFindCrossStoreTarget);
System\DirectoryServices\AccountManagement\AD\ADStoreCtx_LoadStore.cs (3)
1419
throw new
PrincipalOperationException
(
1569
throw new
PrincipalOperationException
(SR.ADStoreCtxCouldntGetSIDForGroupMember);
1615
throw new
PrincipalOperationException
(SR.ADStoreCtxCouldntGetSIDForGroupMember);
System\DirectoryServices\AccountManagement\AD\SDSUtils.cs (1)
678
throw new
PrincipalOperationException
(
System\DirectoryServices\AccountManagement\AD\SidList.cs (2)
100
throw new
PrincipalOperationException
(SR.Format(
128
throw new
PrincipalOperationException
(SR.Format(
System\DirectoryServices\AccountManagement\AuthZSet.cs (1)
180
throw new
PrincipalOperationException
(
System\DirectoryServices\AccountManagement\Context.cs (1)
878
throw new
PrincipalOperationException
(SR.ContextNoWellKnownObjects);
System\DirectoryServices\AccountManagement\exceptions.cs (2)
321
exception = new
PrincipalOperationException
(errorMessage, e, errorCode);
350
return new
PrincipalOperationException
(errorMsg, errorCode);
System\DirectoryServices\AccountManagement\SAM\SAMMembersSet.cs (1)
421
throw new
PrincipalOperationException
(
System\DirectoryServices\AccountManagement\SAM\SAMStoreCtx.cs (6)
819
throw new
PrincipalOperationException
(SR.SAMStoreCtxCantRetrieveObjectSidForCrossStore);
841
throw new
PrincipalOperationException
(
869
throw new
PrincipalOperationException
(SR.SAMStoreCtxFailedFindCrossStoreTarget);
1014
throw new
PrincipalOperationException
(SR.SAMStoreCtxUnableToRetrieveVersion);
1042
throw new
PrincipalOperationException
(SR.SAMStoreCtxUnableToRetrieveMachineName);
1064
throw new
PrincipalOperationException
(
System\DirectoryServices\AccountManagement\SAM\SAMStoreCtx_LoadStore.cs (1)
1054
throw new
PrincipalOperationException
(
System\DirectoryServices\AccountManagement\Utils.cs (12)
376
throw new
PrincipalOperationException
(SR.Format(SR.UnableToOpenToken, lastError));
383
throw new
PrincipalOperationException
(SR.Format(SR.UnableToOpenToken, error));
405
throw new
PrincipalOperationException
(
428
throw new
PrincipalOperationException
(
449
throw new
PrincipalOperationException
(
483
throw new
PrincipalOperationException
(SR.Format(
498
throw new
PrincipalOperationException
(SR.Format(
519
throw new
PrincipalOperationException
(
569
throw new
PrincipalOperationException
(
761
throw new
PrincipalOperationException
(
774
throw new
PrincipalOperationException
(
802
throw new
PrincipalOperationException
(
1 reference to PrincipalOperationException
System.DirectoryServices.AccountManagement (1)
System\DirectoryServices\AccountManagement\AD\ADStoreCtx.cs (1)
2487
catch (
PrincipalOperationException
ex) when (ex.ErrorCode == 1355) // ERROR_NO_SUCH_DOMAIN