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
- FrameworkRichTextComposition.cs
- GeneralTransform2DTo3DTo2D.cs
- AnnotationComponentChooser.cs
- KeysConverter.cs
- WorkflowServiceHostFactory.cs
- BooleanProjectedSlot.cs
- ValueSerializerAttribute.cs
- BitmapSizeOptions.cs
- ScaleTransform.cs
- TransformerTypeCollection.cs
- SevenBitStream.cs
- filewebrequest.cs
- TransformGroup.cs
- WebPartDisplayMode.cs
- DataTrigger.cs
- SAPIEngineTypes.cs
- QueryStringParameter.cs
- SdlChannelSink.cs
- EtwTrace.cs
- BooleanSwitch.cs
- Pens.cs
- XsdCachingReader.cs
- MetadataSource.cs
- JsonObjectDataContract.cs
- DynamicDataResources.Designer.cs
- ConfigurationStrings.cs
- PropertyValueChangedEvent.cs
- CalendarAutoFormatDialog.cs
- cookiecollection.cs
- CmsUtils.cs
- CompilerLocalReference.cs
- OpenFileDialog.cs
- ZipIOLocalFileHeader.cs
- sqlmetadatafactory.cs
- ObsoleteAttribute.cs
- ArglessEventHandlerProxy.cs
- ObservableDictionary.cs
- EventWaitHandle.cs
- SocketPermission.cs
- TableProviderWrapper.cs
- EventLogConfiguration.cs
- RenameRuleObjectDialog.Designer.cs
- PointLight.cs
- XmlSchemaNotation.cs
- SchemaImporterExtensionElement.cs
- ObjectDataSourceStatusEventArgs.cs
- Exceptions.cs
- SpeakProgressEventArgs.cs
- ToolStripSettings.cs
- DataGridViewCellCancelEventArgs.cs
- GCHandleCookieTable.cs
- WaitForChangedResult.cs
- LinqDataSourceValidationException.cs
- SkewTransform.cs
- DocumentXPathNavigator.cs
- FontUnit.cs
- SimpleFileLog.cs
- BufferAllocator.cs
- ClientTarget.cs
- DetectEofStream.cs
- TextDpi.cs
- InteropEnvironment.cs
- CodeTypeDeclarationCollection.cs
- ObfuscateAssemblyAttribute.cs
- selecteditemcollection.cs
- Util.cs
- columnmapkeybuilder.cs
- VSWCFServiceContractGenerator.cs
- TcpServerChannel.cs
- DelegateCompletionCallbackWrapper.cs
- HttpCookieCollection.cs
- TranslateTransform.cs
- ForwardPositionQuery.cs
- EntitySqlQueryCacheKey.cs
- XsltSettings.cs
- TabletCollection.cs
- HtmlTableCellCollection.cs
- InvocationExpression.cs
- ConcurrentDictionary.cs
- SafeLibraryHandle.cs
- HandleRef.cs
- ColumnMapProcessor.cs
- XmlAttributeOverrides.cs
- Triplet.cs
- GregorianCalendarHelper.cs
- FileLogRecord.cs
- OracleConnection.cs
- List.cs
- XPathQilFactory.cs
- FixedBufferAttribute.cs
- Control.cs
- ProfileGroupSettings.cs
- VariableBinder.cs
- DataServiceRequestOfT.cs
- Token.cs
- ReceiveSecurityHeaderEntry.cs
- ObjectParameter.cs
- BooleanToVisibilityConverter.cs
- PipelineComponent.cs
- httpserverutility.cs