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
- SqlFactory.cs
- TileModeValidation.cs
- ComboBoxAutomationPeer.cs
- DebugView.cs
- BinaryFormatter.cs
- ControlBindingsCollection.cs
- Attributes.cs
- SqlTriggerContext.cs
- DbParameterHelper.cs
- ConfigurationStrings.cs
- Tokenizer.cs
- EnumBuilder.cs
- AffineTransform3D.cs
- ListInitExpression.cs
- OleDbWrapper.cs
- FacetChecker.cs
- Debug.cs
- RangeValuePatternIdentifiers.cs
- FontFamily.cs
- RelatedView.cs
- AnimationException.cs
- StyleBamlTreeBuilder.cs
- DiffuseMaterial.cs
- NotCondition.cs
- HttpCapabilitiesBase.cs
- SqlDataSourceTableQuery.cs
- FloaterParagraph.cs
- LinkTarget.cs
- CriticalHandle.cs
- KeyManager.cs
- RightsManagementEncryptionTransform.cs
- SimpleRecyclingCache.cs
- SymbolMethod.cs
- TemplatedWizardStep.cs
- StringAnimationBase.cs
- SmtpTransport.cs
- WebPartConnectionsEventArgs.cs
- smtppermission.cs
- DataGridViewCellStyleContentChangedEventArgs.cs
- Base64WriteStateInfo.cs
- SourceFileInfo.cs
- DynamicControlParameter.cs
- _DisconnectOverlappedAsyncResult.cs
- DataGridAddNewRow.cs
- StateManagedCollection.cs
- RsaSecurityToken.cs
- FontFamilyIdentifier.cs
- SharedPerformanceCounter.cs
- TimeoutValidationAttribute.cs
- HttpDebugHandler.cs
- NetworkAddressChange.cs
- ReadOnlyTernaryTree.cs
- RadioButton.cs
- ControlsConfig.cs
- DataGridViewRowPrePaintEventArgs.cs
- IntranetCredentialPolicy.cs
- HtmlTableRow.cs
- ViewSimplifier.cs
- TablePatternIdentifiers.cs
- BufferedWebEventProvider.cs
- ToolStripPanel.cs
- NativeMethods.cs
- WebPartConnectionsEventArgs.cs
- WizardStepBase.cs
- Axis.cs
- _LocalDataStoreMgr.cs
- RangeValuePattern.cs
- SafeFileMappingHandle.cs
- WrappedIUnknown.cs
- PopupControlService.cs
- SqlSelectClauseBuilder.cs
- DisableDpiAwarenessAttribute.cs
- BypassElement.cs
- WebBaseEventKeyComparer.cs
- ACL.cs
- CommandArguments.cs
- HttpListenerResponse.cs
- EntityViewGenerationConstants.cs
- DataGridViewTextBoxEditingControl.cs
- XPathPatternBuilder.cs
- CodeArgumentReferenceExpression.cs
- ExeContext.cs
- CapiSymmetricAlgorithm.cs
- QilReplaceVisitor.cs
- ResourceAttributes.cs
- BooleanStorage.cs
- ShapeTypeface.cs
- OpenTypeCommon.cs
- SerializationInfo.cs
- ObjectSerializerFactory.cs
- DataRowCollection.cs
- SqlEnums.cs
- PackWebRequest.cs
- DetailsViewUpdateEventArgs.cs
- ComponentDispatcher.cs
- _NTAuthentication.cs
- Soap12ProtocolReflector.cs
- ConfigurationManagerHelper.cs
- DetailsView.cs
- HtmlFormWrapper.cs