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
- SudsParser.cs
- CryptoKeySecurity.cs
- InputQueueChannel.cs
- ConfigurationException.cs
- BufferedReadStream.cs
- StrokeCollection2.cs
- PropertyEmitterBase.cs
- WebPermission.cs
- ScriptingProfileServiceSection.cs
- handlecollector.cs
- DataSet.cs
- TargetException.cs
- CallContext.cs
- smtppermission.cs
- XmlSchemaDocumentation.cs
- DropDownList.cs
- ListCollectionView.cs
- MembershipSection.cs
- CollectionConverter.cs
- AsynchronousChannel.cs
- FontSizeConverter.cs
- Trace.cs
- listitem.cs
- DBBindings.cs
- ParenthesizePropertyNameAttribute.cs
- Timer.cs
- StateChangeEvent.cs
- EntityCollection.cs
- XmlSchemaComplexType.cs
- AnnotationResourceChangedEventArgs.cs
- Part.cs
- Int32CAMarshaler.cs
- Pen.cs
- EmissiveMaterial.cs
- DataGridViewRowsAddedEventArgs.cs
- StringSource.cs
- ExternalCalls.cs
- AnnotationResource.cs
- HtmlInputRadioButton.cs
- DeleteMemberBinder.cs
- TabItem.cs
- DataGridViewRowsRemovedEventArgs.cs
- CngProvider.cs
- PackageStore.cs
- ImageBrush.cs
- RegionInfo.cs
- MessageDecoder.cs
- GenericNameHandler.cs
- ContextToken.cs
- ScriptControlManager.cs
- ChangeConflicts.cs
- Drawing.cs
- ParameterBuilder.cs
- OdbcFactory.cs
- InternalConfigEventArgs.cs
- TabPanel.cs
- TextBoxBaseDesigner.cs
- IndexOutOfRangeException.cs
- TextBox.cs
- XamlStackWriter.cs
- HostProtectionException.cs
- SqlDataSourceWizardForm.cs
- KeyTime.cs
- QilFunction.cs
- MulticastDelegate.cs
- MULTI_QI.cs
- ObjectManager.cs
- WindowsIdentity.cs
- SupportsEventValidationAttribute.cs
- HtmlHead.cs
- NameValueFileSectionHandler.cs
- DesignerTransactionCloseEvent.cs
- InnerItemCollectionView.cs
- GlyphsSerializer.cs
- ListenerElementsCollection.cs
- Parallel.cs
- TriggerAction.cs
- Timeline.cs
- LogConverter.cs
- IPHostEntry.cs
- DesignTableCollection.cs
- Grid.cs
- ListViewPagedDataSource.cs
- ReceiveCompletedEventArgs.cs
- ItemsControlAutomationPeer.cs
- Bitmap.cs
- DisplayMemberTemplateSelector.cs
- GenericUriParser.cs
- SqlTriggerAttribute.cs
- ManagementInstaller.cs
- XamlBrushSerializer.cs
- AttributeParameterInfo.cs
- Light.cs
- DesignerToolboxInfo.cs
- WhitespaceRule.cs
- LinkedList.cs
- SwitchElementsCollection.cs
- SolidBrush.cs
- RequestCachingSection.cs
- XmlAnyElementAttributes.cs