104 references to ActiveDirectoryObjectNotFoundException
System.DirectoryServices (104)
System\DirectoryServices\ActiveDirectory\ActiveDirectoryInterSiteTransport.cs (1)
90
throw new
ActiveDirectoryObjectNotFoundException
(SR.Format(SR.TransportNotFound, transport.ToString()), typeof(ActiveDirectoryInterSiteTransport), transport.ToString());
System\DirectoryServices\ActiveDirectory\ActiveDirectorySchema.cs (9)
101
throw new
ActiveDirectoryObjectNotFoundException
(SR.ContextNotAssociatedWithDomain, typeof(ActiveDirectorySchema), null);
111
throw new
ActiveDirectoryObjectNotFoundException
(SR.ForestNotFound, typeof(ActiveDirectorySchema), context.Name);
115
throw new
ActiveDirectoryObjectNotFoundException
(SR.ConfigSetNotFound, typeof(ActiveDirectorySchema), context.Name);
119
throw new
ActiveDirectoryObjectNotFoundException
(SR.Format(SR.ServerNotFound, context.Name), typeof(ActiveDirectorySchema), null);
135
throw new
ActiveDirectoryObjectNotFoundException
(SR.Format(SR.ServerNotFound, context.Name), typeof(ActiveDirectorySchema), null);
148
throw new
ActiveDirectoryObjectNotFoundException
(SR.ForestNotFound, typeof(ActiveDirectorySchema), context.Name);
152
throw new
ActiveDirectoryObjectNotFoundException
(SR.ConfigSetNotFound, typeof(ActiveDirectorySchema), context.Name);
156
throw new
ActiveDirectoryObjectNotFoundException
(SR.Format(SR.ServerNotFound, context.Name), typeof(ActiveDirectorySchema), null);
169
throw new
ActiveDirectoryObjectNotFoundException
(SR.ConfigSetNotFound, typeof(ActiveDirectorySchema), context.Name);
System\DirectoryServices\ActiveDirectory\ActiveDirectorySchemaClass.cs (3)
110
throw new
ActiveDirectoryObjectNotFoundException
(SR.DSNotFound, typeof(ActiveDirectorySchemaClass), ldapDisplayName);
120
throw new
ActiveDirectoryObjectNotFoundException
(SR.DSNotFound, typeof(ActiveDirectorySchemaClass), ldapDisplayName);
1213
throw new
ActiveDirectoryObjectNotFoundException
(SR.DSNotFound, typeof(ActiveDirectorySchemaClass), name);
System\DirectoryServices\ActiveDirectory\ActiveDirectorySchemaProperty.cs (5)
163
throw new
ActiveDirectoryObjectNotFoundException
(SR.DSNotFound, typeof(ActiveDirectorySchemaProperty), ldapDisplayName);
173
throw new
ActiveDirectoryObjectNotFoundException
(SR.DSNotFound, typeof(ActiveDirectorySchemaProperty), ldapDisplayName);
985
throw new
ActiveDirectoryObjectNotFoundException
(SR.Format(SR.LinkedPropertyNotFound, linkIdToSearch), typeof(ActiveDirectorySchemaProperty), null);
1266
throw new
ActiveDirectoryObjectNotFoundException
(SR.DSNotFound, typeof(ActiveDirectorySchemaProperty), name);
1276
throw new
ActiveDirectoryObjectNotFoundException
(SR.DSNotFound, typeof(ActiveDirectorySchemaProperty), name);
System\DirectoryServices\ActiveDirectory\ActiveDirectorySite.cs (3)
100
throw new
ActiveDirectoryObjectNotFoundException
(SR.DSNotFound, typeof(ActiveDirectorySite), siteName);
111
throw new
ActiveDirectoryObjectNotFoundException
(SR.DSNotFound, typeof(ActiveDirectorySite), siteName);
202
throw new
ActiveDirectoryObjectNotFoundException
(SR.NoCurrentSite, typeof(ActiveDirectorySite), null);
System\DirectoryServices\ActiveDirectory\ActiveDirectorySiteLink.cs (2)
161
Exception e = new
ActiveDirectoryObjectNotFoundException
(SR.DSNotFound, typeof(ActiveDirectorySiteLink), siteLinkName);
185
throw new
ActiveDirectoryObjectNotFoundException
(SR.DSNotFound, typeof(ActiveDirectorySiteLink), siteLinkName);
System\DirectoryServices\ActiveDirectory\ActiveDirectorySiteLinkBridge.cs (2)
148
Exception e = new
ActiveDirectoryObjectNotFoundException
(SR.DSNotFound, typeof(ActiveDirectorySiteLinkBridge), bridgeName);
173
throw new
ActiveDirectoryObjectNotFoundException
(SR.DSNotFound, typeof(ActiveDirectorySiteLinkBridge), bridgeName);
System\DirectoryServices\ActiveDirectory\ActiveDirectorySubnet.cs (2)
58
Exception e = new
ActiveDirectoryObjectNotFoundException
(SR.DSNotFound, typeof(ActiveDirectorySubnet), subnetName);
96
throw new
ActiveDirectoryObjectNotFoundException
(SR.DSNotFound, typeof(ActiveDirectorySubnet), subnetName);
System\DirectoryServices\ActiveDirectory\ADAMInstance.cs (3)
128
throw new
ActiveDirectoryObjectNotFoundException
(SR.Format(SR.AINotFound, context.Name), typeof(AdamInstance), context.Name);
143
throw new
ActiveDirectoryObjectNotFoundException
(SR.Format(SR.AINotFound, context.Name), typeof(AdamInstance), context.Name);
153
throw new
ActiveDirectoryObjectNotFoundException
(SR.Format(SR.AINotFound, context.Name), typeof(AdamInstance), context.Name);
System\DirectoryServices\ActiveDirectory\ApplicationPartition.cs (7)
121
throw new
ActiveDirectoryObjectNotFoundException
(SR.NDNCNotFound, typeof(ApplicationPartition), context.Name);
144
throw new
ActiveDirectoryObjectNotFoundException
(SR.NDNCNotFound, typeof(ApplicationPartition), context.Name);
247
throw new
ActiveDirectoryObjectNotFoundException
(SR.AppNCNotFound, typeof(ApplicationPartition), distinguishedName);
262
throw new
ActiveDirectoryObjectNotFoundException
(SR.AppNCNotFound, typeof(ApplicationPartition), distinguishedName);
307
throw new
ActiveDirectoryObjectNotFoundException
(SR.AppNCNotFound, typeof(ApplicationPartition), distinguishedName);
324
throw new
ActiveDirectoryObjectNotFoundException
(SR.AppNCNotFound, typeof(ApplicationPartition), distinguishedName);
1169
throw new
ActiveDirectoryObjectNotFoundException
(SR.ReplicaNotFound, typeof(DirectoryServer), null);
System\DirectoryServices\ActiveDirectory\ConfigSet.cs (9)
91
throw new
ActiveDirectoryObjectNotFoundException
(SR.ConfigSetNotFound, typeof(ConfigurationSet), context.Name);
95
throw new
ActiveDirectoryObjectNotFoundException
(SR.Format(SR.AINotFound, context.Name), typeof(ConfigurationSet), null);
114
throw new
ActiveDirectoryObjectNotFoundException
(SR.Format(SR.AINotFound, context.Name), typeof(ConfigurationSet), null);
127
throw new
ActiveDirectoryObjectNotFoundException
(SR.ConfigSetNotFound, typeof(ConfigurationSet), context.Name);
131
throw new
ActiveDirectoryObjectNotFoundException
(SR.Format(SR.AINotFound, context.Name), typeof(ConfigurationSet), null);
144
throw new
ActiveDirectoryObjectNotFoundException
(SR.ConfigSetNotFound, typeof(ConfigurationSet), context.Name);
493
throw new
ActiveDirectoryObjectNotFoundException
(SR.ADAMInstanceNotFound, typeof(AdamInstance), null);
560
throw new
ActiveDirectoryObjectNotFoundException
(SR.Format(SR.ADAMInstanceNotFoundInConfigSet, configSetName ?? context.Name), typeof(AdamInstance), null);
573
throw new
ActiveDirectoryObjectNotFoundException
(SR.Format(SR.ADAMInstanceNotFoundInConfigSet, configSetName ?? context.Name), typeof(AdamInstance), null);
System\DirectoryServices\ActiveDirectory\Domain.cs (13)
76
throw new
ActiveDirectoryObjectNotFoundException
(SR.ContextNotAssociatedWithDomain, typeof(Domain), null);
86
throw new
ActiveDirectoryObjectNotFoundException
(SR.DomainNotFound, typeof(Domain), context.Name);
90
throw new
ActiveDirectoryObjectNotFoundException
(SR.Format(SR.DCNotFound, context.Name), typeof(Domain), null);
108
throw new
ActiveDirectoryObjectNotFoundException
(SR.Format(SR.DCNotFound, context.Name), typeof(Domain), null);
120
throw new
ActiveDirectoryObjectNotFoundException
(SR.DomainNotFound, typeof(Domain), context.Name);
124
throw new
ActiveDirectoryObjectNotFoundException
(SR.Format(SR.DCNotFound, context.Name), typeof(Domain), null);
142
throw new
ActiveDirectoryObjectNotFoundException
(SR.ComputerNotJoinedToDomain, typeof(Domain), null);
512
throw new
ActiveDirectoryObjectNotFoundException
(SR.Format(SR.DomainTrustDoesNotExist, Name, targetDomainName), typeof(TrustRelationshipInformation), null);
633
throw new
ActiveDirectoryObjectNotFoundException
(SR.Format(SR.WrongTrustDirection, Name, targetDomain.Name, direction), typeof(TrustRelationshipInformation), null);
646
throw new
ActiveDirectoryObjectNotFoundException
(SR.Format(SR.WrongTrustDirection, Name, targetDomain.Name, direction), typeof(TrustRelationshipInformation), null);
807
throw new
ActiveDirectoryObjectNotFoundException
(SR.Format(SR.WrongTrustDirection, Name, targetDomain.Name, direction), typeof(TrustRelationshipInformation), null);
1451
throw new
ActiveDirectoryObjectNotFoundException
(SR.Format(SR.WrongTrustDirection, Name, targetDomain.Name, direction), typeof(TrustRelationshipInformation), null);
1464
throw new
ActiveDirectoryObjectNotFoundException
(SR.Format(SR.WrongTrustDirection, Name, targetDomain.Name, direction), typeof(TrustRelationshipInformation), null);
System\DirectoryServices\ActiveDirectory\DomainController.cs (6)
139
throw new
ActiveDirectoryObjectNotFoundException
(SR.Format(SR.DCNotFound, context.Name), typeof(DomainController), context.Name);
153
throw new
ActiveDirectoryObjectNotFoundException
(SR.Format(SR.DCNotFound, context.Name), typeof(DomainController), context.Name);
163
throw new
ActiveDirectoryObjectNotFoundException
(SR.Format(SR.DCNotFound, context.Name), typeof(DomainController), context.Name);
909
throw new
ActiveDirectoryObjectNotFoundException
(SR.Format(SR.DCNotFoundInDomain, context.Name), typeof(DomainController), null);
939
throw new
ActiveDirectoryObjectNotFoundException
(SR.Format(SR.DCNotFoundInDomain, context.Name), typeof(DomainController), null);
981
throw new
ActiveDirectoryObjectNotFoundException
(SR.Format(SR.DCNotFoundInDomain, domainName), typeof(DomainController), null);
System\DirectoryServices\ActiveDirectory\Forest.cs (12)
103
throw new
ActiveDirectoryObjectNotFoundException
(SR.ContextNotAssociatedWithDomain, typeof(Forest), null);
113
throw new
ActiveDirectoryObjectNotFoundException
(SR.ForestNotFound, typeof(Forest), context.Name);
117
throw new
ActiveDirectoryObjectNotFoundException
(SR.Format(SR.DCNotFound, context.Name), typeof(Forest), null);
134
throw new
ActiveDirectoryObjectNotFoundException
(SR.Format(SR.DCNotFound, context.Name), typeof(Forest), null);
146
throw new
ActiveDirectoryObjectNotFoundException
(SR.ForestNotFound, typeof(Forest), context.Name);
150
throw new
ActiveDirectoryObjectNotFoundException
(SR.Format(SR.DCNotFound, context.Name), typeof(Forest), null);
329
throw new
ActiveDirectoryObjectNotFoundException
(SR.Format(SR.ForestTrustDoesNotExist, Name, targetForestName), typeof(TrustRelationshipInformation), null);
445
throw new
ActiveDirectoryObjectNotFoundException
(SR.Format(SR.WrongTrustDirection, Name, targetForest.Name, direction), typeof(ForestTrustRelationshipInformation), null);
458
throw new
ActiveDirectoryObjectNotFoundException
(SR.Format(SR.WrongTrustDirection, Name, targetForest.Name, direction), typeof(ForestTrustRelationshipInformation), null);
616
throw new
ActiveDirectoryObjectNotFoundException
(SR.Format(SR.WrongTrustDirection, Name, targetForest.Name, direction), typeof(ForestTrustRelationshipInformation), null);
1175
throw new
ActiveDirectoryObjectNotFoundException
(SR.Format(SR.WrongTrustDirection, Name, targetForest.Name, direction), typeof(ForestTrustRelationshipInformation), null);
1188
throw new
ActiveDirectoryObjectNotFoundException
(SR.Format(SR.WrongTrustDirection, Name, targetForest.Name, direction), typeof(ForestTrustRelationshipInformation), null);
System\DirectoryServices\ActiveDirectory\GlobalCatalog.cs (8)
47
throw new
ActiveDirectoryObjectNotFoundException
(SR.Format(SR.GCNotFound, context.Name), typeof(GlobalCatalog), context.Name);
62
throw new
ActiveDirectoryObjectNotFoundException
(SR.Format(SR.GCNotFound, context.Name), typeof(GlobalCatalog), context.Name);
69
throw new
ActiveDirectoryObjectNotFoundException
(SR.Format(SR.GCNotFound, context.Name), typeof(GlobalCatalog), context.Name);
78
throw new
ActiveDirectoryObjectNotFoundException
(SR.Format(SR.GCNotFound, context.Name), typeof(GlobalCatalog), context.Name);
293
throw new
ActiveDirectoryObjectNotFoundException
(SR.Format(SR.GCNotFoundInForest, context.Name), typeof(GlobalCatalog), null);
323
throw new
ActiveDirectoryObjectNotFoundException
(SR.Format(SR.GCNotFoundInForest, context.Name), typeof(GlobalCatalog), null);
367
throw new
ActiveDirectoryObjectNotFoundException
(SR.ContextNotAssociatedWithDomain, typeof(GlobalCatalog), null);
383
throw new
ActiveDirectoryObjectNotFoundException
(SR.Format(SR.GCNotFoundInForest, forestName), typeof(GlobalCatalog), null);
System\DirectoryServices\ActiveDirectory\ReplicationConnection.cs (2)
70
throw new
ActiveDirectoryObjectNotFoundException
(SR.DSNotFound, typeof(ReplicationConnection), name);
81
Exception e = new
ActiveDirectoryObjectNotFoundException
(SR.DSNotFound, typeof(ReplicationConnection), name);
System\DirectoryServices\ActiveDirectory\TrustHelper.cs (16)
61
throw new
ActiveDirectoryObjectNotFoundException
(SR.Format(SR.ForestTrustDoesNotExist, sourceName, targetName), typeof(ForestTrustRelationshipInformation), null);
63
throw new
ActiveDirectoryObjectNotFoundException
(SR.Format(SR.DomainTrustDoesNotExist, sourceName, targetName), typeof(TrustRelationshipInformation), null);
156
throw new
ActiveDirectoryObjectNotFoundException
(SR.Format(SR.ForestTrustDoesNotExist, sourceName, targetName), typeof(ForestTrustRelationshipInformation), null);
158
throw new
ActiveDirectoryObjectNotFoundException
(SR.Format(SR.DomainTrustDoesNotExist, sourceName, targetName), typeof(TrustRelationshipInformation), null);
282
throw new
ActiveDirectoryObjectNotFoundException
(SR.Format(SR.ForestTrustDoesNotExist, sourceName, targetName), typeof(ForestTrustRelationshipInformation), null);
284
throw new
ActiveDirectoryObjectNotFoundException
(SR.Format(SR.DomainTrustDoesNotExist, sourceName, targetName), typeof(TrustRelationshipInformation), null);
594
throw new
ActiveDirectoryObjectNotFoundException
(SR.Format(SR.ForestTrustDoesNotExist, sourceName, targetName), typeof(ForestTrustRelationshipInformation), null);
596
throw new
ActiveDirectoryObjectNotFoundException
(SR.Format(SR.DomainTrustDoesNotExist, sourceName, targetName), typeof(TrustRelationshipInformation), null);
723
throw new
ActiveDirectoryObjectNotFoundException
(SR.Format(SR.ForestTrustDoesNotExist, sourceName, targetName), typeof(ForestTrustRelationshipInformation), null);
725
throw new
ActiveDirectoryObjectNotFoundException
(SR.Format(SR.DomainTrustDoesNotExist, sourceName, targetName), typeof(TrustRelationshipInformation), null);
840
throw new
ActiveDirectoryObjectNotFoundException
(SR.Format(SR.ForestTrustDoesNotExist, sourceName, targetName), typeof(ForestTrustRelationshipInformation), null);
842
throw new
ActiveDirectoryObjectNotFoundException
(SR.Format(SR.DomainTrustDoesNotExist, sourceName, targetName), typeof(TrustRelationshipInformation), null);
863
throw new
ActiveDirectoryObjectNotFoundException
(SR.Format(SR.WrongTrustDirection, sourceName, targetName, (TrustDirection)direction), typeof(ForestTrustRelationshipInformation), null);
865
throw new
ActiveDirectoryObjectNotFoundException
(SR.Format(SR.WrongTrustDirection, sourceName, targetName, (TrustDirection)direction), typeof(TrustRelationshipInformation), null);
883
throw new
ActiveDirectoryObjectNotFoundException
(SR.Format(SR.ForestTrustDoesNotExist, sourceName, targetName), typeof(ForestTrustRelationshipInformation), null);
891
throw new
ActiveDirectoryObjectNotFoundException
(SR.Format(SR.WrongForestTrust, sourceName, targetName), typeof(TrustRelationshipInformation), null);
System\DirectoryServices\ActiveDirectory\Utils.cs (1)
808
throw new
ActiveDirectoryObjectNotFoundException
(SR.AppNCNotFound, typeof(ActiveDirectoryPartition), partitionName);