Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Base / MS / Internal / CriticalExceptions.cs / 1 / CriticalExceptions.cs
using System; #if PBTCOMPILER namespace MS.Internal.Markup #else using MS.Internal.WindowsBase; // FriendAccessAllowed namespace MS.Internal #endif { #if !PBTCOMPILER [FriendAccessAllowed] #endif internal static class CriticalExceptions { #if !PBTCOMPILER [FriendAccessAllowed] #endif internal static bool IsCriticalException(Exception ex) { return ex is NullReferenceException || ex is StackOverflowException || ex is OutOfMemoryException || ex is System.Threading.ThreadAbortException || ex is System.Runtime.InteropServices.SEHException || ex is System.Security.SecurityException; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- WindowsSlider.cs
- QilName.cs
- TableStyle.cs
- PopupControlService.cs
- IgnorePropertiesAttribute.cs
- InfoCardRSAOAEPKeyExchangeFormatter.cs
- SafeThreadHandle.cs
- LockRecursionException.cs
- CompiledRegexRunner.cs
- webproxy.cs
- GridViewSortEventArgs.cs
- DeleteHelper.cs
- SpellerError.cs
- ScopedKnownTypes.cs
- TabPanel.cs
- CompositeTypefaceMetrics.cs
- DataGridViewCheckBoxCell.cs
- DataGridViewHitTestInfo.cs
- WorkItem.cs
- WebSysDisplayNameAttribute.cs
- BamlStream.cs
- FindRequestContext.cs
- FixedSOMPageElement.cs
- MemberDomainMap.cs
- ThreadStartException.cs
- UnknownWrapper.cs
- RelationshipDetailsCollection.cs
- EntityModelSchemaGenerator.cs
- OleDbConnectionFactory.cs
- Point3D.cs
- ObfuscateAssemblyAttribute.cs
- DesignerSerializationOptionsAttribute.cs
- SiteMapHierarchicalDataSourceView.cs
- WorkflowNamespace.cs
- EntityCommandCompilationException.cs
- RowBinding.cs
- ExecutionContext.cs
- Rotation3D.cs
- QueryOutputWriterV1.cs
- TextTreeFixupNode.cs
- PathFigure.cs
- TreeSet.cs
- SerialPinChanges.cs
- WebPartTransformer.cs
- SecurityIdentifierElementCollection.cs
- DataBoundControl.cs
- XmlAtomicValue.cs
- NavigationPropertyAccessor.cs
- FormViewDeleteEventArgs.cs
- ManagementBaseObject.cs
- MLangCodePageEncoding.cs
- Privilege.cs
- ManifestResourceInfo.cs
- ThaiBuddhistCalendar.cs
- StatusBarPanelClickEvent.cs
- DecimalKeyFrameCollection.cs
- IndexerNameAttribute.cs
- HtmlTextArea.cs
- XmlName.cs
- FixedStringLookup.cs
- SafeIUnknown.cs
- GeometryConverter.cs
- DesignerTextBoxAdapter.cs
- ParallelRangeManager.cs
- ContainerFilterService.cs
- NumericUpDown.cs
- NameGenerator.cs
- PictureBox.cs
- BindingSource.cs
- LayoutTable.cs
- TraceSource.cs
- SignatureToken.cs
- BaseTreeIterator.cs
- InstallerTypeAttribute.cs
- Line.cs
- Function.cs
- ColumnCollection.cs
- ProgressBarRenderer.cs
- DataControlButton.cs
- TempFiles.cs
- AssociatedControlConverter.cs
- MaskDescriptors.cs
- TextServicesCompartment.cs
- ProgressiveCrcCalculatingStream.cs
- WebHeaderCollection.cs
- StylusPointPropertyId.cs
- DbParameterHelper.cs
- PropertyTabChangedEvent.cs
- ViewLoader.cs
- WebPartDisplayModeCancelEventArgs.cs
- GeneralTransform3DTo2DTo3D.cs
- PointUtil.cs
- ValueQuery.cs
- webbrowsersite.cs
- TableLayoutPanelCellPosition.cs
- JsonReaderDelegator.cs
- WindowsFont.cs
- InputScope.cs
- ClockGroup.cs
- ValidationEventArgs.cs