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\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\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\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\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\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\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\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());