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
- FusionWrap.cs
- SqlUserDefinedAggregateAttribute.cs
- ByteConverter.cs
- ComplusEndpointConfigContainer.cs
- XPathQilFactory.cs
- RenamedEventArgs.cs
- keycontainerpermission.cs
- Attributes.cs
- SyndicationFeed.cs
- CloudCollection.cs
- _AutoWebProxyScriptEngine.cs
- SQLMembershipProvider.cs
- TextTreePropertyUndoUnit.cs
- DefaultEventAttribute.cs
- SpeechDetectedEventArgs.cs
- WebPartsSection.cs
- RequestUriProcessor.cs
- ThreadStartException.cs
- StorageFunctionMapping.cs
- EpmSyndicationContentSerializer.cs
- StringUtil.cs
- GridViewEditEventArgs.cs
- RoleManagerModule.cs
- RegisteredExpandoAttribute.cs
- Oid.cs
- SoapInteropTypes.cs
- ComponentEditorPage.cs
- ObjectDataSourceMethodEventArgs.cs
- handlecollector.cs
- ScrollChangedEventArgs.cs
- TimelineGroup.cs
- InvariantComparer.cs
- EncodingNLS.cs
- ConfigXmlDocument.cs
- HttpApplication.cs
- ScanQueryOperator.cs
- HostingEnvironment.cs
- CryptoSession.cs
- ResourceContainer.cs
- IProvider.cs
- TimeSpanMinutesConverter.cs
- MatrixKeyFrameCollection.cs
- PageStatePersister.cs
- ObjectSet.cs
- UdpSocketReceiveManager.cs
- SignatureToken.cs
- DataSetFieldSchema.cs
- StringDictionaryWithComparer.cs
- BindingList.cs
- TargetInvocationException.cs
- SystemParameters.cs
- DBCSCodePageEncoding.cs
- ChannelBinding.cs
- SecurityKeyUsage.cs
- DtcInterfaces.cs
- ObjectItemAttributeAssemblyLoader.cs
- ColumnMapVisitor.cs
- TextWriter.cs
- HotSpotCollection.cs
- FloatUtil.cs
- JobPageOrder.cs
- SiteMapHierarchicalDataSourceView.cs
- BamlResourceSerializer.cs
- ModifiableIteratorCollection.cs
- ConnectionPointGlyph.cs
- BinaryKeyIdentifierClause.cs
- TypeExtensionSerializer.cs
- ToolStripOverflow.cs
- XmlSerializerNamespaces.cs
- OleAutBinder.cs
- Internal.cs
- NodeInfo.cs
- DatasetMethodGenerator.cs
- SessionPageStatePersister.cs
- AsyncCompletedEventArgs.cs
- IsolatedStorageFileStream.cs
- SafeCoTaskMem.cs
- XhtmlBasicLinkAdapter.cs
- DrawListViewSubItemEventArgs.cs
- WindowsContainer.cs
- FontFamilyIdentifier.cs
- TreeViewEvent.cs
- ItemsChangedEventArgs.cs
- Attributes.cs
- ErrorRuntimeConfig.cs
- NativeCompoundFileAPIs.cs
- PropertyNames.cs
- CacheMode.cs
- TimelineGroup.cs
- InstanceDataCollectionCollection.cs
- AsyncSerializedWorker.cs
- IndentedWriter.cs
- CommandValueSerializer.cs
- SizeAnimationUsingKeyFrames.cs
- MexBindingElement.cs
- SqlTriggerAttribute.cs
- HttpClientCertificate.cs
- DependencyPropertyChangedEventArgs.cs
- TokenizerHelper.cs
- CustomTrackingQuery.cs