Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / Runtime / ExceptionServices / ExceptionNotification.cs / 1305376 / ExceptionNotification.cs
#if FEATURE_EXCEPTION_NOTIFICATIONS // ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================================== ** ** File: ExceptionNotification.cs ** ** ** Purpose: Contains definitions for supporting Exception Notifications. ** ** Created: 10/07/2008 ** **[....] ** =============================================================================*/ namespace System.Runtime.ExceptionServices { using System; using System.Runtime.ConstrainedExecution; // Definition of the argument-type passed to the FirstChanceException event handler public class FirstChanceExceptionEventArgs : EventArgs { // Constructor public FirstChanceExceptionEventArgs(Exception exception) { m_Exception = exception; } // Returns the exception object pertaining to the first chance exception public Exception Exception { [ReliabilityContract(Consistency.WillNotCorruptState, Cer.Success)] get { return m_Exception; } } // Represents the FirstChance exception instance private Exception m_Exception; } } #endif // FEATURE_EXCEPTION_NOTIFICATIONS // 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
- TabControl.cs
- TransmissionStrategy.cs
- FigureParaClient.cs
- AnnotationAuthorChangedEventArgs.cs
- XamlRtfConverter.cs
- SamlDoNotCacheCondition.cs
- ResourceSetExpression.cs
- MembershipPasswordException.cs
- StringDictionaryWithComparer.cs
- LogicalExpressionTypeConverter.cs
- WindowCollection.cs
- BitmapEffectGeneralTransform.cs
- HtmlTableCellCollection.cs
- GroupQuery.cs
- SqlCacheDependencySection.cs
- Knowncolors.cs
- CommandLibraryHelper.cs
- CancelRequestedRecord.cs
- CharEntityEncoderFallback.cs
- SafeLocalMemHandle.cs
- RequestUriProcessor.cs
- XmlAttribute.cs
- ClientTargetCollection.cs
- SurrogateEncoder.cs
- DashStyles.cs
- XmlIgnoreAttribute.cs
- SafeBitVector32.cs
- MembershipPasswordException.cs
- SingleAnimationBase.cs
- DesignerAttribute.cs
- UdpSocket.cs
- ByteKeyFrameCollection.cs
- CursorEditor.cs
- QilName.cs
- InlinedAggregationOperator.cs
- LicenseContext.cs
- SecuritySessionSecurityTokenAuthenticator.cs
- OutputCacheModule.cs
- XmlWhitespace.cs
- SourceFileInfo.cs
- XmlSchemaAny.cs
- DocumentPageViewAutomationPeer.cs
- Pen.cs
- QueryCacheKey.cs
- AdPostCacheSubstitution.cs
- Permission.cs
- TabControl.cs
- ExceptionNotification.cs
- DbFunctionCommandTree.cs
- SelectedGridItemChangedEvent.cs
- SignedXml.cs
- HttpPostedFile.cs
- KnownAssembliesSet.cs
- HMACRIPEMD160.cs
- XmlSchemaComplexType.cs
- DataTemplateKey.cs
- PointF.cs
- SearchForVirtualItemEventArgs.cs
- PageThemeCodeDomTreeGenerator.cs
- Mapping.cs
- CodeAttributeDeclarationCollection.cs
- XmlEntityReference.cs
- SqlUDTStorage.cs
- SettingsPropertyValue.cs
- BulletedListEventArgs.cs
- WebBodyFormatMessageProperty.cs
- ViewCellSlot.cs
- MimeMultiPart.cs
- IList.cs
- ColumnClickEvent.cs
- ProfileInfo.cs
- AssemblyNameProxy.cs
- XmlNamespaceManager.cs
- DocumentXmlWriter.cs
- DateTimeOffset.cs
- DataBoundLiteralControl.cs
- RectangleHotSpot.cs
- WebContext.cs
- ConfigurationLocation.cs
- controlskin.cs
- HttpListenerPrefixCollection.cs
- CryptoConfig.cs
- BaseParser.cs
- ObjectMaterializedEventArgs.cs
- Inline.cs
- WindowVisualStateTracker.cs
- ConfigXmlAttribute.cs
- LinqDataSourceHelper.cs
- DateTime.cs
- DataSvcMapFile.cs
- SafeNativeMethodsCLR.cs
- PeerApplicationLaunchInfo.cs
- CurrentChangingEventArgs.cs
- InputLanguageCollection.cs
- TextSelectionProcessor.cs
- TextTreeRootNode.cs
- CodeValidator.cs
- Helpers.cs
- RegexNode.cs
- RayMeshGeometry3DHitTestResult.cs