50 references to ExceptionHelper
System.DirectoryServices.AccountManagement (50)
System\DirectoryServices\AccountManagement\AD\ADAMStoreCtx.cs (2)
202
throw (
ExceptionHelper
.GetExceptionFromCOMException((System.Runtime.InteropServices.COMException)e.InnerException));
311
throw
ExceptionHelper
.GetExceptionFromCOMException(e);
System\DirectoryServices\AccountManagement\AD\ADStoreCtx.cs (15)
428
throw
ExceptionHelper
.GetExceptionFromCOMException((System.Runtime.InteropServices.COMException)e);
649
throw
ExceptionHelper
.GetExceptionFromCOMException(e);
682
throw
ExceptionHelper
.GetExceptionFromCOMException(e);
707
throw
ExceptionHelper
.GetExceptionFromCOMException(e);
875
throw
ExceptionHelper
.GetExceptionFromCOMException(e);
1128
throw
ExceptionHelper
.GetExceptionFromCOMException(e);
1352
throw
ExceptionHelper
.GetExceptionFromCOMException(e);
1523
throw
ExceptionHelper
.GetExceptionFromCOMException(e);
1617
throw
ExceptionHelper
.GetExceptionFromCOMException(e);
1695
throw
ExceptionHelper
.GetExceptionFromCOMException(e);
1853
throw
ExceptionHelper
.GetExceptionFromCOMException(e);
1929
throw
ExceptionHelper
.GetExceptionFromCOMException(e);
2032
throw
ExceptionHelper
.GetExceptionFromCOMException(e);
2151
throw
ExceptionHelper
.GetExceptionFromCOMException(e);
2198
throw
ExceptionHelper
.GetExceptionFromCOMException(e);
System\DirectoryServices\AccountManagement\AD\ADStoreCtx_LoadStore.cs (6)
208
throw
ExceptionHelper
.GetExceptionFromCOMException(e);
318
throw
ExceptionHelper
.GetExceptionFromCOMException(e);
395
throw
ExceptionHelper
.GetExceptionFromCOMException(e);
425
throw
ExceptionHelper
.GetExceptionFromCOMException(e);
665
throw
ExceptionHelper
.GetExceptionFromCOMException(e);
1630
throw
ExceptionHelper
.GetExceptionFromCOMException(e);
System\DirectoryServices\AccountManagement\AD\ADStoreCtx_Query.cs (1)
253
throw
ExceptionHelper
.GetExceptionFromCOMException(e);
System\DirectoryServices\AccountManagement\AD\SDSUtils.cs (7)
293
throw (
ExceptionHelper
.GetExceptionFromCOMException(e));
322
if (((System.Runtime.InteropServices.COMException)e.InnerException).ErrorCode == unchecked((int)
ExceptionHelper
.ERROR_HRESULT_CONSTRAINT_VIOLATION))
330
throw (
ExceptionHelper
.GetExceptionFromCOMException((System.Runtime.InteropServices.COMException)e.InnerException));
356
if (((System.Runtime.InteropServices.COMException)e.InnerException).ErrorCode == unchecked((int)
ExceptionHelper
.ERROR_HRESULT_CONSTRAINT_VIOLATION))
364
throw (
ExceptionHelper
.GetExceptionFromCOMException((System.Runtime.InteropServices.COMException)e.InnerException));
424
throw
ExceptionHelper
.GetExceptionFromCOMException(e);
475
throw
ExceptionHelper
.GetExceptionFromCOMException(e);
System\DirectoryServices\AccountManagement\Context.cs (7)
113
if (hr == unchecked((int)(
ExceptionHelper
.ERROR_HRESULT_LOGON_FAILURE)))
121
throw
ExceptionHelper
.GetExceptionFromErrorCode(hr);
129
if (e.ErrorCode == unchecked((int)(
ExceptionHelper
.ERROR_HRESULT_LOGON_FAILURE)))
135
throw
ExceptionHelper
.GetExceptionFromCOMException(e);
294
if (ldapex.ErrorCode ==
ExceptionHelper
.ERROR_LOGON_FAILURE)
327
if (ldapex.ErrorCode ==
ExceptionHelper
.ERROR_LOGON_FAILURE)
752
throw
ExceptionHelper
.GetExceptionFromCOMException(e);
System\DirectoryServices\AccountManagement\Principal.cs (1)
435
throw
ExceptionHelper
.GetExceptionFromCOMException((System.Runtime.InteropServices.COMException)e);
System\DirectoryServices\AccountManagement\SAM\SAMStoreCtx.cs (6)
261
throw
ExceptionHelper
.GetExceptionFromCOMException(e);
290
throw
ExceptionHelper
.GetExceptionFromCOMException(e);
311
throw
ExceptionHelper
.GetExceptionFromCOMException(e);
401
throw (
ExceptionHelper
.GetExceptionFromCOMException((System.Runtime.InteropServices.COMException)e.InnerException));
442
throw
ExceptionHelper
.GetExceptionFromCOMException(e);
742
throw
ExceptionHelper
.GetExceptionFromCOMException(e);
System\DirectoryServices\AccountManagement\SAM\SAMStoreCtx_LoadStore.cs (5)
152
throw
ExceptionHelper
.GetExceptionFromCOMException(e);
267
throw
ExceptionHelper
.GetExceptionFromCOMException(e);
326
throw
ExceptionHelper
.GetExceptionFromCOMException(e);
595
throw
ExceptionHelper
.GetExceptionFromCOMException(e);
1143
throw
ExceptionHelper
.GetExceptionFromCOMException(e);