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
- WinEventTracker.cs
- HttpListenerResponse.cs
- StreamAsIStream.cs
- MailAddressCollection.cs
- DeflateStream.cs
- WebBrowserEvent.cs
- CSharpCodeProvider.cs
- Point3DAnimation.cs
- SelectionService.cs
- XmlSchemaObject.cs
- HWStack.cs
- VisualProxy.cs
- IISUnsafeMethods.cs
- Model3D.cs
- DataMember.cs
- SiteMapHierarchicalDataSourceView.cs
- localization.cs
- DataGridViewBindingCompleteEventArgs.cs
- ExeContext.cs
- DebugController.cs
- BufferCache.cs
- KeyNotFoundException.cs
- ClientBuildManagerCallback.cs
- ETagAttribute.cs
- SpecialNameAttribute.cs
- ParserExtension.cs
- ModuleConfigurationInfo.cs
- ObjectItemCollectionAssemblyCacheEntry.cs
- AsynchronousChannel.cs
- BlockUIContainer.cs
- ListViewInsertedEventArgs.cs
- ListViewDeletedEventArgs.cs
- PrtTicket_Public_Simple.cs
- QueryResults.cs
- ConfigurationElement.cs
- CheckBoxList.cs
- SlipBehavior.cs
- securitycriticaldataformultiplegetandset.cs
- ByteBufferPool.cs
- XPathScanner.cs
- ExceptionRoutedEventArgs.cs
- ToolBar.cs
- EncoderReplacementFallback.cs
- WindowsGraphicsWrapper.cs
- _BufferOffsetSize.cs
- CompositeActivityTypeDescriptor.cs
- ServiceControllerDesigner.cs
- CodeAssignStatement.cs
- ScaleTransform.cs
- PanelStyle.cs
- AdRotatorDesigner.cs
- NumberFormatter.cs
- TlsnegoTokenAuthenticator.cs
- TraceLevelHelper.cs
- ValidationErrorCollection.cs
- RadioButton.cs
- XmlSchemaComplexContentExtension.cs
- FrameworkContextData.cs
- DataControlCommands.cs
- AdjustableArrowCap.cs
- ReadOnlyDataSourceView.cs
- ProfileServiceManager.cs
- AllMembershipCondition.cs
- CryptoApi.cs
- ConstraintCollection.cs
- SqlReferenceCollection.cs
- securitycriticaldata.cs
- SortQuery.cs
- OracleColumn.cs
- IdnMapping.cs
- EdmMember.cs
- LocatorPartList.cs
- LinearKeyFrames.cs
- DateTimeValueSerializerContext.cs
- HttpDebugHandler.cs
- CornerRadiusConverter.cs
- RemotingConfigParser.cs
- ParserHooks.cs
- ClientScriptManagerWrapper.cs
- HttpServerVarsCollection.cs
- MessageQueueException.cs
- IODescriptionAttribute.cs
- PropertiesTab.cs
- TextRangeSerialization.cs
- QuotedPrintableStream.cs
- AVElementHelper.cs
- HttpWriter.cs
- QueueProcessor.cs
- ApplicationDirectory.cs
- DataSet.cs
- NonPrimarySelectionGlyph.cs
- ObjectResult.cs
- QueryOptionExpression.cs
- ToolbarAUtomationPeer.cs
- NamespaceCollection.cs
- Model3DGroup.cs
- ConfigurationValues.cs
- DoubleKeyFrameCollection.cs
- NamedPipeTransportSecurity.cs
- ExceptionList.cs