Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / wpf / src / 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. 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
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- RootBuilder.cs
- MetaData.cs
- InstanceCreationEditor.cs
- HostingEnvironmentSection.cs
- SerTrace.cs
- SmtpClient.cs
- DigitShape.cs
- _CookieModule.cs
- DataServiceConfiguration.cs
- AuthenticatingEventArgs.cs
- DataGridViewIntLinkedList.cs
- SqlCacheDependency.cs
- QuaternionRotation3D.cs
- ActivityIdHeader.cs
- ToolTipAutomationPeer.cs
- AppSettingsSection.cs
- NativeMethods.cs
- PropertyGrid.cs
- CodeParameterDeclarationExpressionCollection.cs
- DataMisalignedException.cs
- SafeEventLogReadHandle.cs
- datacache.cs
- LocationUpdates.cs
- NavigationPropertySingletonExpression.cs
- StandardTransformFactory.cs
- XmlSerializerOperationFormatter.cs
- DataGridViewRowCancelEventArgs.cs
- ProcessHostServerConfig.cs
- EqualityArray.cs
- DashStyle.cs
- FormViewModeEventArgs.cs
- ButtonChrome.cs
- Gdiplus.cs
- SqlWebEventProvider.cs
- AnnotationResourceCollection.cs
- shaperfactoryquerycacheentry.cs
- _TimerThread.cs
- XsltLoader.cs
- RawTextInputReport.cs
- UndoUnit.cs
- DataGridViewCellParsingEventArgs.cs
- ContainsRowNumberChecker.cs
- KeyValuePairs.cs
- DmlSqlGenerator.cs
- MenuAdapter.cs
- MD5CryptoServiceProvider.cs
- ValidatingReaderNodeData.cs
- CommandHelpers.cs
- ToolStripDropTargetManager.cs
- NumberFormatInfo.cs
- MasterPageParser.cs
- HostAdapter.cs
- XsdDateTime.cs
- Int64AnimationBase.cs
- SqlUdtInfo.cs
- ClearTypeHintValidation.cs
- PageCache.cs
- FlowNode.cs
- GridLengthConverter.cs
- WebPartAuthorizationEventArgs.cs
- Scalars.cs
- DateTimeUtil.cs
- SafeNativeMethodsOther.cs
- WindowInteropHelper.cs
- StrokeNodeOperations.cs
- NumericExpr.cs
- XmlQueryOutput.cs
- Parameter.cs
- ListDataBindEventArgs.cs
- XmlRootAttribute.cs
- ContainerActivationHelper.cs
- URLIdentityPermission.cs
- QualifiedCellIdBoolean.cs
- QuaternionRotation3D.cs
- CommandHelper.cs
- CodeTypeParameterCollection.cs
- InternalBufferOverflowException.cs
- TableStyle.cs
- XhtmlBasicCalendarAdapter.cs
- XmlSchemaElement.cs
- SQLSingle.cs
- UnaryNode.cs
- KnownBoxes.cs
- MetricEntry.cs
- DEREncoding.cs
- SqlCommandSet.cs
- SwitchLevelAttribute.cs
- PerformanceCounterPermission.cs
- RenderContext.cs
- BitmapEffectGroup.cs
- SqlEnums.cs
- DataServiceBuildProvider.cs
- UdpDiscoveryEndpointElement.cs
- Point.cs
- ValueOfAction.cs
- IndexOutOfRangeException.cs
- HtmlContainerControl.cs
- SecurityKeyIdentifierClause.cs
- _TransmitFileOverlappedAsyncResult.cs
- TextTreeTextNode.cs