163 references to ExceptionHelpers
PresentationFramework (163)
MS\Internal\WindowsRuntime\Generated\Windows.Data.Text.cs (88)
335
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.CreateWithLanguage_0(ThisPtr, MarshalString.GetAbi(__language), out __retval));
478
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
479
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
497
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
498
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
516
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
517
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
543
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.get_AlternateText_1(ThisPtr, out __retval));
558
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.get_NormalizationFormat_2(ThisPtr, out __retval));
568
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.get_SourceTextSegment_0(ThisPtr, out __retval));
650
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
651
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
672
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
673
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
691
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
692
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
710
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
711
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
729
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
730
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
748
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
749
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
767
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
768
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
786
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
787
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
805
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
806
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
824
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
825
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
843
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
844
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
862
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
863
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
881
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
882
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
900
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
901
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
919
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
920
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
938
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
939
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
957
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
958
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
980
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.GetCodepointFromSurrogatePair_0(ThisPtr, highSurrogate, lowSurrogate, out __retval));
988
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.GetSurrogatePairFromCodepoint_1(ThisPtr, codepoint, out __highSurrogate, out __lowSurrogate));
996
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.IsHighSurrogate_2(ThisPtr, codepoint, out __retval));
1003
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.IsLowSurrogate_3(ThisPtr, codepoint, out __retval));
1010
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.IsSupplementary_4(ThisPtr, codepoint, out __retval));
1017
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.IsNoncharacter_5(ThisPtr, codepoint, out __retval));
1024
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.IsWhitespace_6(ThisPtr, codepoint, out __retval));
1031
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.IsAlphabetic_7(ThisPtr, codepoint, out __retval));
1038
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.IsCased_8(ThisPtr, codepoint, out __retval));
1045
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.IsUppercase_9(ThisPtr, codepoint, out __retval));
1052
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.IsLowercase_10(ThisPtr, codepoint, out __retval));
1059
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.IsIdStart_11(ThisPtr, codepoint, out __retval));
1066
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.IsIdContinue_12(ThisPtr, codepoint, out __retval));
1073
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.IsGraphemeBase_13(ThisPtr, codepoint, out __retval));
1080
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.IsGraphemeExtend_14(ThisPtr, codepoint, out __retval));
1087
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.GetNumericType_15(ThisPtr, codepoint, out __retval));
1094
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.GetGeneralCategory_16(ThisPtr, codepoint, out __retval));
1162
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
1163
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
1181
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
1182
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
1200
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
1201
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
1227
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.get_AlternateForms_2(ThisPtr, out __retval));
1242
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.get_SourceTextSegment_1(ThisPtr, out __retval));
1254
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.get_Text_0(ThisPtr, out __retval));
1314
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
1315
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
1333
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
1334
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
1349
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
1350
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
1368
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
1369
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
1395
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.GetTokenAt_1(ThisPtr, MarshalString.GetAbi(__text), startIndex, out __retval));
1412
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.GetTokens_2(ThisPtr, MarshalString.GetAbi(__text), out __retval));
1430
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.Tokenize_3(ThisPtr, MarshalString.GetAbi(__text), startIndex, WordSegmentsTokenizingHandler.GetAbi(__handler)));
1446
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.get_ResolvedLanguage_0(ThisPtr, out __retval));
1502
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
1503
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
1529
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.CreateWithLanguage_0(ThisPtr, MarshalString.GetAbi(__language), out __retval));
1615
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)));
1646
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
1647
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
MS\Internal\WindowsRuntime\Generated\Windows.Globalization.cs (31)
87
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.CreateLanguage_0(ThisPtr, MarshalString.GetAbi(__languageTag), out __retval));
253
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
254
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
272
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
273
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
291
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
292
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
310
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
311
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
337
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.get_DisplayName_1(ThisPtr, out __retval));
354
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.get_LanguageTag_0(ThisPtr, out __retval));
371
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.get_NativeName_2(ThisPtr, out __retval));
388
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.get_Script_3(ThisPtr, out __retval));
437
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
438
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
462
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.get_LayoutDirection_0(ThisPtr, out __retval));
511
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
512
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
538
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.GetExtensionSubtags_0(ThisPtr, MarshalString.GetAbi(__singleton), out __retval));
592
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
593
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
619
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.CreateLanguage_0(ThisPtr, MarshalString.GetAbi(__languageTag), out __retval));
675
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
676
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
694
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
695
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
721
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.IsWellFormed_0(ThisPtr, MarshalString.GetAbi(__languageTag), out __retval));
737
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.get_CurrentInputMethodLanguageTag_1(ThisPtr, out __retval));
791
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
792
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
818
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__);
173
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.First_0(ThisPtr, out __retval));
300
if (Marshal.GetHRForException(e) ==
ExceptionHelpers
.E_CHANGED_STATE)
345
ExceptionHelpers
.ThrowExceptionForHR(
ExceptionHelpers
.E_BOUNDS);
376
ExceptionHelpers
.ThrowExceptionForHR(
ExceptionHelpers
.E_CHANGED_STATE);
481
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
482
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
502
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
503
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
520
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
521
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
539
global::WinRT.
ExceptionHelpers
.SetErrorInfo(__exception__);
540
return global::WinRT.
ExceptionHelpers
.GetHRForException(__exception__);
577
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.MoveNext_2(ThisPtr, out __retval));
591
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.GetMany_3(ThisPtr, __items_length, __items_data, out __retval));
623
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__);
407
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.GetMany_3(ThisPtr, startIndex, __items_length, __items_data, out __retval));
422
global::WinRT.
ExceptionHelpers
.ThrowExceptionForHR(_obj.Vftbl.get_Size_1(ThisPtr, out __retval));