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
- TemplateContainer.cs
- AssemblyAttributes.cs
- CharUnicodeInfo.cs
- Regex.cs
- XmlNodeComparer.cs
- HttpHeaderCollection.cs
- CompensationParticipant.cs
- RoleManagerModule.cs
- MetadataItemCollectionFactory.cs
- EllipseGeometry.cs
- WorkflowRuntimeService.cs
- CompletedAsyncResult.cs
- AffineTransform3D.cs
- DateTimeHelper.cs
- DataStreams.cs
- PropertyChangingEventArgs.cs
- ImagingCache.cs
- ClosableStream.cs
- SafeLocalMemHandle.cs
- PhysicalOps.cs
- StatusBar.cs
- ValueChangedEventManager.cs
- UidPropertyAttribute.cs
- MailWriter.cs
- DiscoveryEndpointValidator.cs
- ListItemsCollectionEditor.cs
- HttpModuleAction.cs
- GeometryGroup.cs
- SamlEvidence.cs
- GenericFlowSwitchHelper.cs
- UnmanagedHandle.cs
- BulletChrome.cs
- CopyNamespacesAction.cs
- DefaultTextStoreTextComposition.cs
- ProviderUtil.cs
- FixedNode.cs
- SafeCoTaskMem.cs
- WindowsFormsSynchronizationContext.cs
- FixedTextBuilder.cs
- SamlAssertionKeyIdentifierClause.cs
- DbDeleteCommandTree.cs
- MimeTypeAttribute.cs
- Debug.cs
- GenerateScriptTypeAttribute.cs
- LinearGradientBrush.cs
- BlockingCollection.cs
- ExpandableObjectConverter.cs
- Lasso.cs
- Base64Stream.cs
- TreeView.cs
- NativeMethods.cs
- WebPartTracker.cs
- DbDataRecord.cs
- CodeBlockBuilder.cs
- PatternMatchRules.cs
- PcmConverter.cs
- RsaKeyIdentifierClause.cs
- DateTimeValueSerializerContext.cs
- Mouse.cs
- PathData.cs
- DynamicEntity.cs
- CustomServiceCredentials.cs
- HttpModule.cs
- BamlTreeMap.cs
- DelayedRegex.cs
- UTF32Encoding.cs
- HandleTable.cs
- SafeCryptoHandles.cs
- InkPresenter.cs
- ControlPropertyNameConverter.cs
- MessageHeaderDescriptionCollection.cs
- DirectoryRedirect.cs
- EncoderReplacementFallback.cs
- SharedStatics.cs
- Dump.cs
- LogEntryDeserializer.cs
- QuaternionAnimation.cs
- AssociationSetEnd.cs
- ComponentSerializationService.cs
- StorageFunctionMapping.cs
- EditorZone.cs
- RealizationContext.cs
- SQLInt32.cs
- WizardStepCollectionEditor.cs
- CapabilitiesSection.cs
- MonitoringDescriptionAttribute.cs
- RSAOAEPKeyExchangeFormatter.cs
- DocumentViewer.cs
- EntityCommandExecutionException.cs
- CompositeCollection.cs
- HtmlMeta.cs
- PartialClassGenerationTask.cs
- MessageQueueKey.cs
- _StreamFramer.cs
- DockPattern.cs
- Misc.cs
- ProviderManager.cs
- TextEndOfParagraph.cs
- TransformerInfoCollection.cs
- GeneratedView.cs