106 references to ThrowExceptionForHR
mscorlib (5)
system\guid.cs (1)
1152
Marshal.
ThrowExceptionForHR
(Win32Native.CoCreateGuid(out guid), new IntPtr(-1));
system\runtime\interopservices\windowsruntime\windowsruntimemarshal.cs (1)
1311
Marshal.
ThrowExceptionForHR
(hrCreate, new IntPtr(-1));
system\stubhelpers.cs (3)
556
Marshal.
ThrowExceptionForHR
(hrCreate, new IntPtr(-1));
581
Marshal.
ThrowExceptionForHR
(hrCreate, new IntPtr(-1));
1447
Marshal.
ThrowExceptionForHR
(hrCreate, new IntPtr(-1));
PresentationCore (1)
Shared\MS\Internal\SecurityHelper.cs (1)
940
Marshal.
ThrowExceptionForHR
(hr, new IntPtr(-1));
System (1)
parent\parent\parent\InternalApis\NDP_FX\inc\ZLibNative.cs (1)
443
Marshal.
ThrowExceptionForHR
(hresult, new IntPtr(-1));
System.Management (96)
Instrumentation\EventSource.cs (3)
109
Marshal.
ThrowExceptionForHR
(hr, WmiNetUtilsHelper.GetErrorInfo_f());
292
Marshal.
ThrowExceptionForHR
(hresult, WmiNetUtilsHelper.GetErrorInfo_f());
328
Marshal.
ThrowExceptionForHR
(hresult, WmiNetUtilsHelper.GetErrorInfo_f());
managementbaseobject.cs (7)
339
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
460
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
632
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
659
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
805
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
831
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
853
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
managementclass.cs (13)
90
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
353
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
493
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
627
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
716
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
785
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
870
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
933
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
966
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
1096
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
1204
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
1303
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
1404
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
managementeventwatcher.cs (4)
486
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
517
Marshal.
ThrowExceptionForHR
(sink.Status, WmiNetUtilsHelper.GetErrorInfo_f());
542
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
778
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
managementobject.cs (20)
712
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
809
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
945
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
1081
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
1211
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
1315
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
1437
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
1529
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
1692
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
1834
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
1950
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
2012
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
2085
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
2344
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
2422
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
2515
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
2549
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
2701
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
2790
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
2882
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
managementobjectcollection.cs (3)
331
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
578
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
649
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
managementobjectsearcher.cs (2)
387
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
482
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
managementpath.cs (13)
118
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
286
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
342
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
384
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
530
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
626
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
656
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
779
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
829
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
950
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
977
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
1006
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
1035
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
managementscope.cs (3)
1169
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
1598
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
1624
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
method.cs (2)
133
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
222
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
methodset.cs (4)
110
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
285
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
378
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
445
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
property.cs (3)
112
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
157
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
230
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
propertyset.cs (7)
90
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
160
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
266
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
384
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
427
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
469
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
507
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
qualifier.cs (6)
95
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
197
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
239
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
292
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
328
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
364
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
qualifierset.cs (6)
107
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
147
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
211
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
356
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
444
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
493
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
WindowsBase (3)
Base\MS\Internal\SplashScreenNativeMethods.cs (1)
146
Marshal.
ThrowExceptionForHR
(hr, (IntPtr)(-1));
parent\parent\InternalApis\NDP_FX\inc\ZLibNative.cs (1)
443
Marshal.
ThrowExceptionForHR
(hresult, new IntPtr(-1));
Shared\MS\Internal\SecurityHelper.cs (1)
940
Marshal.
ThrowExceptionForHR
(hr, new IntPtr(-1));