46 references to ActiveDirectoryOperationException
System.DirectoryServices (46)
System\DirectoryServices\ActiveDirectory\ActiveDirectoryInterSiteTransport.cs (1)
72
throw new
ActiveDirectoryOperationException
(SR.Format(SR.ADAMInstanceNotFoundInConfigSet, context.Name));
System\DirectoryServices\ActiveDirectory\ActiveDirectorySchemaClass.cs (3)
125
throw new
ActiveDirectoryOperationException
(SR.Format(SR.ADAMInstanceNotFoundInConfigSet, context.Name));
289
throw new
ActiveDirectoryOperationException
(SR.Format(SR.ADAMInstanceNotFoundInConfigSet, _context.Name));
1065
throw new
ActiveDirectoryOperationException
(SR.Format(SR.PropertyNotFound, propertyName));
System\DirectoryServices\ActiveDirectory\ActiveDirectorySchemaClassCollection.cs (1)
300
throw new
ActiveDirectoryOperationException
(SR.ValueCannotBeModified);
System\DirectoryServices\ActiveDirectory\ActiveDirectorySchemaProperty.cs (4)
178
throw new
ActiveDirectoryOperationException
(SR.Format(SR.ADAMInstanceNotFoundInConfigSet, context.Name));
330
throw new
ActiveDirectoryOperationException
(SR.Format(SR.ADAMInstanceNotFoundInConfigSet, _context.Name));
1117
throw new
ActiveDirectoryOperationException
(SR.Format(SR.PropertyNotFound, propertyName));
1382
throw new
ActiveDirectoryOperationException
(SR.Format(SR.UnknownSyntax, _ldapDisplayName));
System\DirectoryServices\ActiveDirectory\ActiveDirectorySchemaPropertyCollection.cs (1)
316
throw new
ActiveDirectoryOperationException
(SR.ValueCannotBeModified);
System\DirectoryServices\ActiveDirectory\ActiveDirectorySite.cs (4)
85
throw new
ActiveDirectoryOperationException
(SR.Format(SR.ADAMInstanceNotFoundInConfigSet, context.Name));
156
throw new
ActiveDirectoryOperationException
(SR.Format(SR.ADAMInstanceNotFoundInConfigSet, context.Name));
1216
throw new
ActiveDirectoryOperationException
(message);
1283
throw new
ActiveDirectoryOperationException
(message);
System\DirectoryServices\ActiveDirectory\ActiveDirectorySiteLink.cs (2)
70
throw new
ActiveDirectoryOperationException
(SR.Format(SR.ADAMInstanceNotFoundInConfigSet, context.Name));
145
throw new
ActiveDirectoryOperationException
(SR.Format(SR.ADAMInstanceNotFoundInConfigSet, context.Name));
System\DirectoryServices\ActiveDirectory\ActiveDirectorySiteLinkBridge.cs (2)
61
throw new
ActiveDirectoryOperationException
(SR.Format(SR.ADAMInstanceNotFoundInConfigSet, context.Name));
132
throw new
ActiveDirectoryOperationException
(SR.Format(SR.ADAMInstanceNotFoundInConfigSet, context.Name));
System\DirectoryServices\ActiveDirectory\ActiveDirectorySubnet.cs (2)
43
throw new
ActiveDirectoryOperationException
(SR.Format(SR.ADAMInstanceNotFoundInConfigSet, context.Name));
141
throw new
ActiveDirectoryOperationException
(SR.Format(SR.ADAMInstanceNotFoundInConfigSet, context.Name));
System\DirectoryServices\ActiveDirectory\ADAMInstance.cs (1)
700
throw new
ActiveDirectoryOperationException
(SR.InvalidServerNameFormat);
System\DirectoryServices\ActiveDirectory\ApplicationPartition.cs (2)
208
throw new
ActiveDirectoryOperationException
(SR.Format(SR.ADAMInstanceNotFoundInConfigSet, context.Name));
1091
throw new
ActiveDirectoryOperationException
(SR.ApplicationPartitionTypeUnknown);
System\DirectoryServices\ActiveDirectory\DirectoryContext.cs (1)
641
throw new
ActiveDirectoryOperationException
(SR.ContextNotAssociatedWithDomain);
System\DirectoryServices\ActiveDirectory\DomainController.cs (7)
745
throw new
ActiveDirectoryOperationException
(SR.Format(SR.SiteNameNotFound, Name));
763
throw new
ActiveDirectoryOperationException
(SR.Format(SR.SiteObjectNameNotFound, Name));
780
throw new
ActiveDirectoryOperationException
(SR.Format(SR.ComputerObjectNameNotFound, Name));
797
throw new
ActiveDirectoryOperationException
(SR.Format(SR.ServerObjectNameNotFound, Name));
814
throw new
ActiveDirectoryOperationException
(SR.Format(SR.NtdsaObjectNameNotFound, Name));
831
throw new
ActiveDirectoryOperationException
(SR.Format(SR.NtdsaObjectGuidNotFound, Name));
1156
throw new
ActiveDirectoryOperationException
(SR.DCInfoNotFound);
System\DirectoryServices\ActiveDirectory\Exception.cs (4)
215
public SyncFromAllServersOperationException(string? message) :
base
(message ?? SR.DSSyncAllFailure) { }
217
public SyncFromAllServersOperationException() :
base
(SR.DSSyncAllFailure) { }
263
public ForestTrustCollisionException(string? message) :
base
(message ?? SR.ForestTrustCollision) { }
265
public ForestTrustCollisionException() :
base
(SR.ForestTrustCollision) { }
System\DirectoryServices\ActiveDirectory\PropertyManager.cs (3)
126
throw new
ActiveDirectoryOperationException
(SR.Format(SR.PropertyNotFoundOnObject, propertyName, directoryEntry.Properties[PropertyManager.DistinguishedName].Value));
130
throw new
ActiveDirectoryOperationException
(SR.Format(SR.PropertyNotFound, propertyName));
154
throw new
ActiveDirectoryOperationException
(SR.Format(SR.PropertyNotFound, propertyName));
System\DirectoryServices\ActiveDirectory\Utils.cs (8)
323
throw new
ActiveDirectoryOperationException
(SR.Format(SR.NoHostNameOrPortNumber, dn));
349
throw new
ActiveDirectoryOperationException
(SR.Format(SR.NoHostNameOrPortNumber, dn));
382
throw new
ActiveDirectoryOperationException
(SR.Format(SR.NoHostNameOrPortNumber, dn));
409
throw new
ActiveDirectoryOperationException
(SR.Format(SR.NoHostNameOrPortNumber, dn));
838
throw new
ActiveDirectoryOperationException
(message);
1737
throw new
ActiveDirectoryOperationException
(SR.Format(SR.NoHostNameOrPortNumber, ntdsaName));
1741
throw new
ActiveDirectoryOperationException
(SR.Format(SR.NoHostName, ntdsaName));
1750
throw new
ActiveDirectoryOperationException
(SR.Format(SR.NoHostNameOrPortNumber, ntdsaName));