313 references to ExceptionHelper
System.DirectoryServices (313)
System\DirectoryServices\ActiveDirectory\ActiveDirectoryInterSiteTransport.cs (9)
67throw ExceptionHelper.GetExceptionFromCOMException(context, e); 93throw ExceptionHelper.GetExceptionFromCOMException(context, e); 125throw ExceptionHelper.GetExceptionFromCOMException(_context, e); 155throw ExceptionHelper.GetExceptionFromCOMException(_context, e); 175throw ExceptionHelper.GetExceptionFromCOMException(_context, e); 208throw ExceptionHelper.GetExceptionFromCOMException(_context, e); 236throw ExceptionHelper.GetExceptionFromCOMException(_context, e); 284throw ExceptionHelper.GetExceptionFromCOMException(_context, e); 324throw ExceptionHelper.GetExceptionFromCOMException(_context, e);
System\DirectoryServices\ActiveDirectory\ActiveDirectorySchema.cs (5)
161throw ExceptionHelper.GetExceptionFromCOMException(context, e); 197throw ExceptionHelper.GetExceptionFromCOMException(context, e); 445throw ExceptionHelper.GetExceptionFromCOMException(context, e); 499throw ExceptionHelper.GetExceptionFromCOMException(context, e); 548throw ExceptionHelper.GetExceptionFromCOMException(context, e);
System\DirectoryServices\ActiveDirectory\ActiveDirectorySchemaClass.cs (13)
114throw ExceptionHelper.GetExceptionFromCOMException(context, e); 284throw ExceptionHelper.GetExceptionFromCOMException(_context, e); 388throw ExceptionHelper.GetExceptionFromCOMException(_context, e); 493throw ExceptionHelper.GetExceptionFromCOMException(_context, e); 602throw ExceptionHelper.GetExceptionFromCOMException(_context, e); 701throw ExceptionHelper.GetExceptionFromCOMException(_context, e); 777throw ExceptionHelper.GetExceptionFromCOMException(_context, e); 862throw ExceptionHelper.GetExceptionFromCOMException(_context, e); 1217throw ExceptionHelper.GetExceptionFromCOMException(context, e); 1257throw ExceptionHelper.GetExceptionFromCOMException(_context, e); 1323throw ExceptionHelper.GetExceptionFromCOMException(_context, e); 1395throw ExceptionHelper.GetExceptionFromCOMException(_context, e); 1450throw ExceptionHelper.GetExceptionFromCOMException(_context, e);
System\DirectoryServices\ActiveDirectory\ActiveDirectorySchemaClassCollection.cs (3)
254throw ExceptionHelper.GetExceptionFromCOMException(_context, e); 273throw ExceptionHelper.GetExceptionFromCOMException(_context, e); 305throw ExceptionHelper.GetExceptionFromCOMException(_context, e);
System\DirectoryServices\ActiveDirectory\ActiveDirectorySchemaProperty.cs (8)
167throw ExceptionHelper.GetExceptionFromCOMException(context, e); 325throw ExceptionHelper.GetExceptionFromCOMException(_context, e); 430throw ExceptionHelper.GetExceptionFromCOMException(_context, e); 534throw ExceptionHelper.GetExceptionFromCOMException(_context, e); 653throw ExceptionHelper.GetExceptionFromCOMException(_context, e); 992throw ExceptionHelper.GetExceptionFromCOMException(_context, e); 1127throw ExceptionHelper.GetExceptionFromCOMException(_context, e); 1270throw ExceptionHelper.GetExceptionFromCOMException(context, e);
System\DirectoryServices\ActiveDirectory\ActiveDirectorySchemaPropertyCollection.cs (3)
270throw ExceptionHelper.GetExceptionFromCOMException(_context, e); 289throw ExceptionHelper.GetExceptionFromCOMException(_context, e); 321throw ExceptionHelper.GetExceptionFromCOMException(_context, e);
System\DirectoryServices\ActiveDirectory\ActiveDirectorySite.cs (31)
80throw ExceptionHelper.GetExceptionFromCOMException(context, e); 115throw ExceptionHelper.GetExceptionFromCOMException(context, e); 151throw ExceptionHelper.GetExceptionFromCOMException(context, e); 204throw ExceptionHelper.GetExceptionFromErrorCode(result); 367throw ExceptionHelper.GetExceptionFromCOMException(context, e); 447throw ExceptionHelper.GetExceptionFromCOMException(context, e); 466throw ExceptionHelper.GetExceptionFromCOMException(context, e); 492throw ExceptionHelper.GetExceptionFromCOMException(context, e); 514throw ExceptionHelper.GetExceptionFromCOMException(context, e); 607throw ExceptionHelper.GetExceptionFromCOMException(context, e); 643throw ExceptionHelper.GetExceptionFromCOMException(context, e); 672throw ExceptionHelper.GetExceptionFromCOMException(context, e); 700throw ExceptionHelper.GetExceptionFromCOMException(context, e); 738throw ExceptionHelper.GetExceptionFromCOMException(exception); 761throw ExceptionHelper.GetExceptionFromCOMException(exception); 778throw ExceptionHelper.GetExceptionFromCOMException(exception); 798throw ExceptionHelper.GetExceptionFromCOMException(context, e); 848throw ExceptionHelper.GetExceptionFromCOMException(context, e); 869throw ExceptionHelper.GetExceptionFromCOMException(context, e); 918throw ExceptionHelper.GetExceptionFromCOMException(context, e); 1007throw ExceptionHelper.GetExceptionFromCOMException(context, e); 1152throw ExceptionHelper.GetExceptionFromCOMException(context, e); 1195throw ExceptionHelper.GetExceptionFromCOMException(context, e); 1263throw ExceptionHelper.GetExceptionFromCOMException(context, e); 1312throw ExceptionHelper.GetExceptionFromErrorCode(Marshal.GetLastPInvokeError()); 1319throw ExceptionHelper.GetExceptionFromErrorCode(result, serverName); 1356throw ExceptionHelper.GetExceptionFromErrorCode(Marshal.GetLastPInvokeError()); 1377throw ExceptionHelper.GetExceptionFromCOMException(context, e); 1400throw ExceptionHelper.GetExceptionFromCOMException(context, e); 1446throw ExceptionHelper.GetExceptionFromCOMException(context, e); 1464throw ExceptionHelper.GetExceptionFromCOMException(context, e);
System\DirectoryServices\ActiveDirectory\ActiveDirectorySiteCollection.cs (4)
172throw ExceptionHelper.GetExceptionFromCOMException(context, e); 191throw ExceptionHelper.GetExceptionFromCOMException(context, e); 208throw ExceptionHelper.GetExceptionFromCOMException(context, e); 224throw ExceptionHelper.GetExceptionFromCOMException(context, e);
System\DirectoryServices\ActiveDirectory\ActiveDirectorySiteLink.cs (18)
65throw ExceptionHelper.GetExceptionFromCOMException(context, e); 95throw ExceptionHelper.GetExceptionFromCOMException(context, e); 140throw ExceptionHelper.GetExceptionFromCOMException(context, e); 189throw ExceptionHelper.GetExceptionFromCOMException(context, e); 258throw ExceptionHelper.GetExceptionFromCOMException(context, e); 278throw ExceptionHelper.GetExceptionFromCOMException(context, e); 300throw ExceptionHelper.GetExceptionFromCOMException(context, e); 327throw ExceptionHelper.GetExceptionFromCOMException(context, e); 347throw ExceptionHelper.GetExceptionFromCOMException(context, e); 391throw ExceptionHelper.GetExceptionFromCOMException(context, e); 411throw ExceptionHelper.GetExceptionFromCOMException(context, e); 455throw ExceptionHelper.GetExceptionFromCOMException(context, e); 476throw ExceptionHelper.GetExceptionFromCOMException(context, e); 523throw ExceptionHelper.GetExceptionFromCOMException(context, e); 548throw ExceptionHelper.GetExceptionFromCOMException(context, e); 572throw ExceptionHelper.GetExceptionFromCOMException(context, e); 588throw ExceptionHelper.GetExceptionFromCOMException(context, e); 618throw ExceptionHelper.GetExceptionFromCOMException(context, e);
System\DirectoryServices\ActiveDirectory\ActiveDirectorySiteLinkBridge.cs (6)
56throw ExceptionHelper.GetExceptionFromCOMException(context, e); 82throw ExceptionHelper.GetExceptionFromCOMException(context, e); 127throw ExceptionHelper.GetExceptionFromCOMException(context, e); 177throw ExceptionHelper.GetExceptionFromCOMException(context, e); 243throw ExceptionHelper.GetExceptionFromCOMException(context, e); 274throw ExceptionHelper.GetExceptionFromCOMException(context, e);
System\DirectoryServices\ActiveDirectory\ActiveDirectorySiteLinkCollection.cs (4)
173throw ExceptionHelper.GetExceptionFromCOMException(context, e); 192throw ExceptionHelper.GetExceptionFromCOMException(context, e); 209throw ExceptionHelper.GetExceptionFromCOMException(context, e); 225throw ExceptionHelper.GetExceptionFromCOMException(context, e);
System\DirectoryServices\ActiveDirectory\ActiveDirectorySubnet.cs (7)
38throw ExceptionHelper.GetExceptionFromCOMException(context, e); 100throw ExceptionHelper.GetExceptionFromCOMException(context, e); 136ExceptionHelper.GetExceptionFromCOMException(context, e); 242throw ExceptionHelper.GetExceptionFromCOMException(context, e); 265throw ExceptionHelper.GetExceptionFromCOMException(context, e); 306throw ExceptionHelper.GetExceptionFromCOMException(context, e); 327throw ExceptionHelper.GetExceptionFromCOMException(context, e);
System\DirectoryServices\ActiveDirectory\ActiveDirectorySubnetCollection.cs (2)
227throw ExceptionHelper.GetExceptionFromCOMException(_context, e); 254throw ExceptionHelper.GetExceptionFromCOMException(_context, e);
System\DirectoryServices\ActiveDirectory\ADAMInstance.cs (8)
157throw ExceptionHelper.GetExceptionFromCOMException(context, e); 242throw ExceptionHelper.GetExceptionFromCOMException(context, e); 284throw ExceptionHelper.GetExceptionFromCOMException(context, e); 469throw ExceptionHelper.GetExceptionFromCOMException(context, e); 573throw ExceptionHelper.GetExceptionFromCOMException(context, e); 607throw ExceptionHelper.GetExceptionFromCOMException(context, e); 726throw ExceptionHelper.GetExceptionFromCOMException(context, e); 751throw ExceptionHelper.GetExceptionFromCOMException(context, e);
System\DirectoryServices\ActiveDirectory\ApplicationPartition.cs (22)
148throw ExceptionHelper.GetExceptionFromCOMException(context, e); 203throw ExceptionHelper.GetExceptionFromCOMException(context, e); 251throw ExceptionHelper.GetExceptionFromCOMException(context, e); 272throw ExceptionHelper.GetExceptionFromCOMException(context, e); 298throw ExceptionHelper.GetExceptionFromCOMException(context, e); 328throw ExceptionHelper.GetExceptionFromErrorCode(errorCode); 554throw ExceptionHelper.GetExceptionFromCOMException(context, e); 585throw ExceptionHelper.GetExceptionFromCOMException(context, e); 605throw ExceptionHelper.GetExceptionFromCOMException(context, e); 624throw ExceptionHelper.GetExceptionFromCOMException(e2); 627throw ExceptionHelper.GetExceptionFromCOMException(context, e); 638throw ExceptionHelper.GetExceptionFromCOMException(context, e); 673throw ExceptionHelper.GetExceptionFromCOMException(context, e); 700throw ExceptionHelper.GetExceptionFromCOMException(context, e); 719throw ExceptionHelper.GetExceptionFromCOMException(context, e); 800throw ExceptionHelper.GetExceptionFromCOMException(context, e); 919ExceptionHelper.GetExceptionFromCOMException(this.context, e); 958throw ExceptionHelper.GetExceptionFromCOMException(context, e); 1009throw ExceptionHelper.GetExceptionFromCOMException(context, e); 1052throw ExceptionHelper.GetExceptionFromCOMException(context, e); 1081throw ExceptionHelper.GetExceptionFromCOMException(context, e); 1173throw ExceptionHelper.GetExceptionFromErrorCode(errorCode);
System\DirectoryServices\ActiveDirectory\ConfigSet.cs (8)
136throw ExceptionHelper.GetExceptionFromCOMException(context, e); 244throw ExceptionHelper.GetExceptionFromCOMException(_context, e); 306throw ExceptionHelper.GetExceptionFromCOMException(_context, e); 457throw ExceptionHelper.GetExceptionFromCOMException(context, e); 563throw ExceptionHelper.GetExceptionFromCOMException(context, e); 608throw ExceptionHelper.GetExceptionFromCOMException(_context, e); 650throw ExceptionHelper.GetExceptionFromCOMException(_context, e); 720throw ExceptionHelper.GetExceptionFromCOMException(_context, e);
System\DirectoryServices\ActiveDirectory\DirectoryContext.cs (13)
218throw ExceptionHelper.GetExceptionFromErrorCode(errorCode); 235throw ExceptionHelper.GetExceptionFromErrorCode(errorCode); 267throw ExceptionHelper.GetExceptionFromErrorCode(errorCode); 284throw ExceptionHelper.GetExceptionFromErrorCode(errorCode); 315throw ExceptionHelper.GetExceptionFromErrorCode(errorCode); 329throw ExceptionHelper.GetExceptionFromErrorCode(errorCode); 363throw ExceptionHelper.GetExceptionFromCOMException(context, e); 473throw ExceptionHelper.GetExceptionFromErrorCode(errorCode); 610throw ExceptionHelper.GetExceptionFromErrorCode((int)global::Interop.Advapi32.LsaNtStatusToWinError((result != 0) ? result : protocolStatus)); 628throw ExceptionHelper.GetExceptionFromErrorCode((int)global::Interop.Advapi32.LsaNtStatusToWinError(result)); 666throw ExceptionHelper.GetExceptionFromErrorCode(errorCode); 671throw ExceptionHelper.GetExceptionFromErrorCode(errorCode); 689throw ExceptionHelper.GetExceptionFromErrorCode(Marshal.GetLastPInvokeError());
System\DirectoryServices\ActiveDirectory\DirectoryServer.cs (18)
111throw ExceptionHelper.GetExceptionFromCOMException(context, e); 245throw ExceptionHelper.GetExceptionFromCOMException(context, e); 258throw ExceptionHelper.GetExceptionFromCOMException(context, e); 288throw ExceptionHelper.GetExceptionFromErrorCode(Marshal.GetLastPInvokeError()); 294throw ExceptionHelper.GetExceptionFromErrorCode(result, Name); 312throw ExceptionHelper.GetExceptionFromErrorCode(Marshal.GetLastPInvokeError()); 336throw ExceptionHelper.GetExceptionFromErrorCode(Marshal.GetLastPInvokeError()); 354throw new ArgumentException(ExceptionHelper.GetErrorMessage(result, false), "objectPath"); 378throw ExceptionHelper.GetExceptionFromErrorCode(result, Name); 599exception = ExceptionHelper.CreateSyncAllException(temp, true); 639throw ExceptionHelper.GetExceptionFromErrorCode(Marshal.GetLastPInvokeError()); 655SyncFromAllServersOperationException? e = ExceptionHelper.CreateSyncAllException((IntPtr)pErrors, false); 665throw new SyncFromAllServersOperationException(ExceptionHelper.GetErrorMessage(result, false)); 684throw ExceptionHelper.GetExceptionFromErrorCode(Marshal.GetLastPInvokeError()); 722throw ExceptionHelper.GetExceptionFromErrorCode(Marshal.GetLastPInvokeError()); 743throw ExceptionHelper.GetExceptionFromErrorCode(result, serverDownName); 787throw ExceptionHelper.GetExceptionFromCOMException(newContext, e); 830throw ExceptionHelper.GetExceptionFromCOMException(newContext, e);
System\DirectoryServices\ActiveDirectory\DirectoryServerCollection.cs (5)
259throw ExceptionHelper.GetExceptionFromCOMException(context, e); 288throw ExceptionHelper.GetExceptionFromCOMException(context, e); 314throw ExceptionHelper.GetExceptionFromCOMException(context, e); 335throw ExceptionHelper.GetExceptionFromCOMException(context, e); 360throw ExceptionHelper.GetExceptionFromCOMException(context, e);
System\DirectoryServices\ActiveDirectory\Domain.cs (9)
129throw ExceptionHelper.GetExceptionFromCOMException(context, e); 241throw ExceptionHelper.GetExceptionFromCOMException(context, e); 396throw ExceptionHelper.GetExceptionFromCOMException(context, e); 945throw ExceptionHelper.GetExceptionFromCOMException(context, e); 1021throw ExceptionHelper.GetExceptionFromCOMException(context, e); 1065throw ExceptionHelper.GetExceptionFromCOMException(context, e); 1127throw ExceptionHelper.GetExceptionFromCOMException(context, e); 1216throw ExceptionHelper.GetExceptionFromCOMException(context, e); 1268throw ExceptionHelper.GetExceptionFromErrorCode(error, serverName);
System\DirectoryServices\ActiveDirectory\DomainController.cs (16)
167throw ExceptionHelper.GetExceptionFromCOMException(context, e); 277throw ExceptionHelper.GetExceptionFromCOMException(context, e); 309throw ExceptionHelper.GetExceptionFromCOMException(context, e); 331throw ExceptionHelper.GetExceptionFromCOMException(context, e); 401throw ExceptionHelper.GetExceptionFromCOMException(context, e); 704throw ExceptionHelper.GetExceptionFromCOMException(context, e); 914throw ExceptionHelper.GetExceptionFromCOMException(context, e); 943throw ExceptionHelper.GetExceptionFromCOMException(context, e); 990throw ExceptionHelper.GetExceptionFromErrorCode(errorCode); 1025throw ExceptionHelper.GetExceptionFromErrorCode(errorCode); 1063throw ExceptionHelper.GetExceptionFromErrorCode(Marshal.GetLastPInvokeError()); 1147throw ExceptionHelper.GetExceptionFromErrorCode(Marshal.GetLastPInvokeError()); 1164throw ExceptionHelper.GetExceptionFromErrorCode(result, Name); 1235throw ExceptionHelper.GetExceptionFromErrorCode(Marshal.GetLastPInvokeError()); 1274throw ExceptionHelper.GetExceptionFromErrorCode(Marshal.GetLastPInvokeError()); 1282throw ExceptionHelper.GetExceptionFromErrorCode(result, Name);
System\DirectoryServices\ActiveDirectory\Forest.cs (11)
155throw ExceptionHelper.GetExceptionFromCOMException(context, e); 198throw ExceptionHelper.GetExceptionFromCOMException(_context, e); 728throw ExceptionHelper.GetExceptionFromCOMException(_context, e); 777throw ExceptionHelper.GetExceptionFromCOMException(_context, e); 820throw ExceptionHelper.GetExceptionFromCOMException(_context, e); 855throw ExceptionHelper.GetExceptionFromErrorCode(Marshal.GetLastPInvokeError()); 891throw ExceptionHelper.GetExceptionFromErrorCode(Marshal.GetLastPInvokeError()); 899throw ExceptionHelper.GetExceptionFromErrorCode(result, _context.GetServerName()); 978throw ExceptionHelper.GetExceptionFromCOMException(_context, e); 1032throw ExceptionHelper.GetExceptionFromCOMException(_context, e); 1097throw ExceptionHelper.GetExceptionFromErrorCode(error, serverName);
System\DirectoryServices\ActiveDirectory\ForestTrustDomainInformation.cs (1)
33throw ExceptionHelper.GetExceptionFromErrorCode(Marshal.GetLastPInvokeError());
System\DirectoryServices\ActiveDirectory\ForestTrustRelationshipInformation.cs (5)
187throw ExceptionHelper.GetExceptionFromErrorCode(Marshal.GetLastPInvokeError()); 259throw ExceptionHelper.GetExceptionFromErrorCode((int)global::Interop.Advapi32.LsaNtStatusToWinError(error), serverName); 265throw ExceptionHelper.CreateForestTrustCollisionException(collisionInfo); 272throw ExceptionHelper.GetExceptionFromErrorCode((int)error, serverName); 359throw ExceptionHelper.GetExceptionFromErrorCode((int)win32Error, serverName);
System\DirectoryServices\ActiveDirectory\GlobalCatalog.cs (7)
82throw ExceptionHelper.GetExceptionFromCOMException(context, e); 202throw ExceptionHelper.GetExceptionFromCOMException(context, e); 236throw ExceptionHelper.GetExceptionFromCOMException(context, e); 298throw ExceptionHelper.GetExceptionFromCOMException(context, e); 327throw ExceptionHelper.GetExceptionFromCOMException(context, e); 371throw ExceptionHelper.GetExceptionFromErrorCode(errorCode); 392throw ExceptionHelper.GetExceptionFromErrorCode(errorCode);
System\DirectoryServices\ActiveDirectory\Locator.cs (5)
24throw ExceptionHelper.GetExceptionFromErrorCode(errorCode, domainName); 103throw ExceptionHelper.GetExceptionFromErrorCode(errorCode); 150throw ExceptionHelper.GetExceptionFromErrorCode(result); 185throw ExceptionHelper.GetExceptionFromErrorCode(result); 196throw ExceptionHelper.GetExceptionFromErrorCode(result);
System\DirectoryServices\ActiveDirectory\PropertyManager.cs (2)
136throw ExceptionHelper.GetExceptionFromCOMException(context, e); 159throw ExceptionHelper.GetExceptionFromCOMException(e);
System\DirectoryServices\ActiveDirectory\ReplicationConnection.cs (23)
74throw ExceptionHelper.GetExceptionFromCOMException(context, e); 182throw ExceptionHelper.GetExceptionFromCOMException(context, e); 195throw ExceptionHelper.GetExceptionFromCOMException(context, e); 284throw ExceptionHelper.GetExceptionFromCOMException(context, e); 322throw ExceptionHelper.GetExceptionFromCOMException(context, e); 336throw ExceptionHelper.GetExceptionFromCOMException(context, e); 359throw ExceptionHelper.GetExceptionFromCOMException(context, e); 392throw ExceptionHelper.GetExceptionFromCOMException(context, e); 442throw ExceptionHelper.GetExceptionFromCOMException(context, e); 461throw ExceptionHelper.GetExceptionFromCOMException(context, e); 512throw ExceptionHelper.GetExceptionFromCOMException(context, e); 531throw ExceptionHelper.GetExceptionFromCOMException(context, e); 594throw ExceptionHelper.GetExceptionFromCOMException(context, e); 613throw ExceptionHelper.GetExceptionFromCOMException(context, e); 668throw ExceptionHelper.GetExceptionFromCOMException(context, e); 687throw ExceptionHelper.GetExceptionFromCOMException(context, e); 738throw ExceptionHelper.GetExceptionFromCOMException(context, e); 784throw ExceptionHelper.GetExceptionFromCOMException(context, e); 816throw ExceptionHelper.GetExceptionFromCOMException(context, e); 833throw ExceptionHelper.GetExceptionFromCOMException(context, e); 860throw ExceptionHelper.GetExceptionFromCOMException(context, e); 876throw ExceptionHelper.GetExceptionFromCOMException(context, e); 979ExceptionHelper.GetExceptionFromCOMException(context, e);
System\DirectoryServices\ActiveDirectory\ReplicationFailure.cs (1)
64public string LastErrorMessage => ExceptionHelper.GetErrorMessage(LastErrorCode, false);
System\DirectoryServices\ActiveDirectory\ReplicationNeighbor.cs (1)
117public string LastSyncMessage => ExceptionHelper.GetErrorMessage(LastSyncResult, false);
System\DirectoryServices\ActiveDirectory\TrustHelper.cs (16)
66throw ExceptionHelper.GetExceptionFromErrorCode((int)win32Error, serverName); 161throw ExceptionHelper.GetExceptionFromErrorCode((int)win32Error, serverName); 227throw ExceptionHelper.GetExceptionFromErrorCode((int)global::Interop.Advapi32.LsaNtStatusToWinError(result), serverName); 287throw ExceptionHelper.GetExceptionFromErrorCode((int)win32Error, serverName); 304throw ExceptionHelper.GetExceptionFromErrorCode((int)win32Error, serverName); 383throw ExceptionHelper.GetExceptionFromErrorCode(result); 389throw ExceptionHelper.GetExceptionFromErrorCode(result); 401throw ExceptionHelper.GetExceptionFromErrorCode(win32Error); 411throw ExceptionHelper.GetExceptionFromErrorCode(win32Error); 529throw ExceptionHelper.GetExceptionFromErrorCode((int)result, serverName); 599throw ExceptionHelper.GetExceptionFromErrorCode((int)win32Error, serverName); 654throw ExceptionHelper.GetExceptionFromErrorCode((int)global::Interop.Advapi32.LsaNtStatusToWinError(result), serverName); 728throw ExceptionHelper.GetExceptionFromErrorCode((int)win32Error, serverName); 795throw ExceptionHelper.GetExceptionFromErrorCode((int)global::Interop.Advapi32.LsaNtStatusToWinError(result), serverName); 845throw ExceptionHelper.GetExceptionFromErrorCode((int)win32Error, serverName); 1005throw ExceptionHelper.GetExceptionFromErrorCode((int)global::Interop.Advapi32.LsaNtStatusToWinError(result), serverName);
System\DirectoryServices\ActiveDirectory\Utils.cs (29)
119throw ExceptionHelper.GetExceptionFromErrorCode(Marshal.GetLastPInvokeError()); 146throw ExceptionHelper.GetExceptionFromErrorCode(result); 174throw ExceptionHelper.GetExceptionFromErrorCode(Marshal.GetLastPInvokeError()); 187throw ExceptionHelper.GetExceptionFromErrorCode(result); 214throw ExceptionHelper.GetExceptionFromErrorCode(Marshal.GetLastPInvokeError()); 249throw ExceptionHelper.GetExceptionFromErrorCode(Marshal.GetLastPInvokeError()); 262throw ExceptionHelper.GetExceptionFromErrorCode(result); 643throw ExceptionHelper.GetExceptionFromErrorCode(Marshal.GetLastPInvokeError()); 655throw ExceptionHelper.GetExceptionFromErrorCode(result); 672throw ExceptionHelper.GetExceptionFromErrorCode(Marshal.GetLastPInvokeError()); 694throw ExceptionHelper.GetExceptionFromErrorCode(Marshal.GetLastPInvokeError()); 704throw ExceptionHelper.GetExceptionFromErrorCode(result, domainControllerName ?? domainName); 721throw ExceptionHelper.GetExceptionFromErrorCode(Marshal.GetLastPInvokeError()); 813throw ExceptionHelper.GetExceptionFromCOMException(context, e); 890throw ExceptionHelper.GetExceptionFromCOMException(new COMException(ExceptionHelper.GetErrorMessage(hr, true), hr)); 912throw ExceptionHelper.GetExceptionFromCOMException(server.Context, e); 928throw ExceptionHelper.GetExceptionFromCOMException(server.Context, e); 966throw ExceptionHelper.GetExceptionFromErrorCode(Marshal.GetLastPInvokeError()); 974throw ExceptionHelper.GetExceptionFromErrorCode(result); 990throw ExceptionHelper.GetExceptionFromErrorCode(Marshal.GetLastPInvokeError()); 996throw ExceptionHelper.GetExceptionFromErrorCode(Marshal.GetLastPInvokeError()); 1009throw ExceptionHelper.GetExceptionFromErrorCode(Marshal.GetLastPInvokeError()); 1078throw ExceptionHelper.GetExceptionFromErrorCode((int)global::Interop.Advapi32.LsaNtStatusToWinError(result), serverName); 1242throw ExceptionHelper.GetExceptionFromCOMException(context, e); 1300throw ExceptionHelper.GetExceptionFromCOMException(fsmoContext, e); 1351throw ExceptionHelper.GetExceptionFromCOMException(context, e); 1718throw ExceptionHelper.GetExceptionFromCOMException(context, e); 1866throw ExceptionHelper.GetExceptionFromErrorCode(Marshal.GetLastPInvokeError());