163 references to ExceptionHelpers
PresentationFramework (163)
MS\Internal\WindowsRuntime\Generated\Windows.Data.Text.cs (88)
334
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.CreateWithLanguage_0(ThisPtr, MarshalString.GetAbi(__language), out __retval));
477
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
478
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
496
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
497
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
515
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
516
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
542
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.get_AlternateText_1(ThisPtr, out __retval));
557
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.get_NormalizationFormat_2(ThisPtr, out __retval));
567
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.get_SourceTextSegment_0(ThisPtr, out __retval));
649
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
650
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
671
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
672
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
690
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
691
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
709
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
710
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
728
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
729
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
747
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
748
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
766
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
767
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
785
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
786
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
804
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
805
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
823
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
824
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
842
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
843
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
861
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
862
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
880
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
881
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
899
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
900
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
918
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
919
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
937
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
938
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
956
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
957
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
979
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.GetCodepointFromSurrogatePair_0(ThisPtr, highSurrogate, lowSurrogate, out __retval));
987
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.GetSurrogatePairFromCodepoint_1(ThisPtr, codepoint, out __highSurrogate, out __lowSurrogate));
995
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.IsHighSurrogate_2(ThisPtr, codepoint, out __retval));
1002
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.IsLowSurrogate_3(ThisPtr, codepoint, out __retval));
1009
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.IsSupplementary_4(ThisPtr, codepoint, out __retval));
1016
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.IsNoncharacter_5(ThisPtr, codepoint, out __retval));
1023
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.IsWhitespace_6(ThisPtr, codepoint, out __retval));
1030
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.IsAlphabetic_7(ThisPtr, codepoint, out __retval));
1037
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.IsCased_8(ThisPtr, codepoint, out __retval));
1044
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.IsUppercase_9(ThisPtr, codepoint, out __retval));
1051
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.IsLowercase_10(ThisPtr, codepoint, out __retval));
1058
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.IsIdStart_11(ThisPtr, codepoint, out __retval));
1065
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.IsIdContinue_12(ThisPtr, codepoint, out __retval));
1072
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.IsGraphemeBase_13(ThisPtr, codepoint, out __retval));
1079
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.IsGraphemeExtend_14(ThisPtr, codepoint, out __retval));
1086
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.GetNumericType_15(ThisPtr, codepoint, out __retval));
1093
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.GetGeneralCategory_16(ThisPtr, codepoint, out __retval));
1161
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
1162
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
1180
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
1181
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
1199
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
1200
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
1226
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.get_AlternateForms_2(ThisPtr, out __retval));
1241
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.get_SourceTextSegment_1(ThisPtr, out __retval));
1253
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.get_Text_0(ThisPtr, out __retval));
1313
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
1314
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
1332
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
1333
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
1348
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
1349
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
1367
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
1368
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
1394
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.GetTokenAt_1(ThisPtr, MarshalString.GetAbi(__text), startIndex, out __retval));
1411
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.GetTokens_2(ThisPtr, MarshalString.GetAbi(__text), out __retval));
1429
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.Tokenize_3(ThisPtr, MarshalString.GetAbi(__text), startIndex, WordSegmentsTokenizingHandler.GetAbi(__handler)));
1445
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.get_ResolvedLanguage_0(ThisPtr, out __retval));
1501
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
1502
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
1528
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.CreateWithLanguage_0(ThisPtr, MarshalString.GetAbi(__language), out __retval));
1614
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(abiInvoke(ThisPtr, global::MS.Internal.WindowsRuntime.ABI.System.Collections.Generic.IEnumerable<global::MS.Internal.WindowsRuntime.Windows.Data.Text.WordSegment>.GetAbi(__precedingWords), global::MS.Internal.WindowsRuntime.ABI.System.Collections.Generic.IEnumerable<global::MS.Internal.WindowsRuntime.Windows.Data.Text.WordSegment>.GetAbi(__words)));
1645
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
1646
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
MS\Internal\WindowsRuntime\Generated\Windows.Globalization.cs (31)
86
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.CreateLanguage_0(ThisPtr, MarshalString.GetAbi(__languageTag), out __retval));
252
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
253
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
271
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
272
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
290
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
291
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
309
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
310
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
336
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.get_DisplayName_1(ThisPtr, out __retval));
353
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.get_LanguageTag_0(ThisPtr, out __retval));
370
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.get_NativeName_2(ThisPtr, out __retval));
387
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.get_Script_3(ThisPtr, out __retval));
436
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
437
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
461
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.get_LayoutDirection_0(ThisPtr, out __retval));
510
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
511
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
537
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.GetExtensionSubtags_0(ThisPtr, MarshalString.GetAbi(__singleton), out __retval));
591
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
592
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
618
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.CreateLanguage_0(ThisPtr, MarshalString.GetAbi(__languageTag), out __retval));
674
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
675
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
693
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
694
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
720
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.IsWellFormed_0(ThisPtr, MarshalString.GetAbi(__languageTag), out __retval));
736
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.get_CurrentInputMethodLanguageTag_1(ThisPtr, out __retval));
790
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
791
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
817
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.TrySetInputMethodLanguageTag_0(ThisPtr, MarshalString.GetAbi(__languageTag), out __retval));
MS\Internal\WindowsRuntime\Generated\WinRT\Interop\ExceptionErrorInfo.cs (12)
121
ExceptionHelpers
.SetErrorInfo(ex);
122
return
ExceptionHelpers
.GetHRForException(ex);
139
ExceptionHelpers
.SetErrorInfo(ex);
140
return
ExceptionHelpers
.GetHRForException(ex);
157
ExceptionHelpers
.SetErrorInfo(ex);
158
return
ExceptionHelpers
.GetHRForException(ex);
175
ExceptionHelpers
.SetErrorInfo(ex);
176
return
ExceptionHelpers
.GetHRForException(ex);
193
ExceptionHelpers
.SetErrorInfo(ex);
194
return
ExceptionHelpers
.GetHRForException(ex);
354
ExceptionHelpers
.SetErrorInfo(ex);
355
return
ExceptionHelpers
.GetHRForException(ex);
MS\Internal\WindowsRuntime\Generated\WinRT\Projections\IEnumerable.cs (19)
134
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
135
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
174
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.First_0(ThisPtr, out __retval));
301
if (Marshal.GetHRForException(e) ==
ExceptionHelpers
.E_CHANGED_STATE)
346
ExceptionHelpers
.ThrowExceptionForHR(
ExceptionHelpers
.E_BOUNDS);
377
ExceptionHelpers
.ThrowExceptionForHR(
ExceptionHelpers
.E_CHANGED_STATE);
482
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
483
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
503
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
504
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
521
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
522
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
540
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
541
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
579
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.MoveNext_2(ThisPtr, out __retval));
593
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.GetMany_3(ThisPtr, __items_length, __items_data, out __retval));
625
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.get_HasCurrent_1(ThisPtr, out __retval));
MS\Internal\WindowsRuntime\Generated\WinRT\Projections\IReadOnlyList.cs (13)
96
if (
ExceptionHelpers
.E_BOUNDS == ex.HResult)
124
e.SetHResult(
ExceptionHelpers
.E_BOUNDS);
139
ex.SetHResult(
ExceptionHelpers
.E_BOUNDS);
270
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
271
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
292
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
293
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
313
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
314
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
332
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
333
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
408
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.GetMany_3(ThisPtr, startIndex, __items_length, __items_data, out __retval));
423
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.get_Size_1(ThisPtr, out __retval));