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
- DataGridViewColumnCollection.cs
- TableCell.cs
- LambdaReference.cs
- BaseProcessor.cs
- TextEditorParagraphs.cs
- SmiEventSink_Default.cs
- ApplicationHost.cs
- NumericUpDown.cs
- OdbcErrorCollection.cs
- SecurityContextSecurityToken.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- XmlSchemaDatatype.cs
- InvokeBinder.cs
- NumericUpDownAccelerationCollection.cs
- ProtocolViolationException.cs
- QuarticEase.cs
- TransportManager.cs
- BinaryUtilClasses.cs
- WebSysDisplayNameAttribute.cs
- SoapAttributeOverrides.cs
- QEncodedStream.cs
- XmlQueryContext.cs
- CriticalHandle.cs
- PreloadedPackages.cs
- TableLayoutStyle.cs
- MainMenu.cs
- ComponentSerializationService.cs
- StyleCollectionEditor.cs
- HighlightOverlayGlyph.cs
- TryExpression.cs
- DataGridViewCellStyleChangedEventArgs.cs
- AssemblyInfo.cs
- SubqueryRules.cs
- GridViewUpdateEventArgs.cs
- XmlWellformedWriter.cs
- XmlSchemaSimpleTypeList.cs
- XmlAttributeHolder.cs
- WizardStepBase.cs
- XPathNode.cs
- UnsafeNativeMethods.cs
- MarshalByValueComponent.cs
- SqlMethodCallConverter.cs
- ColorIndependentAnimationStorage.cs
- ConversionContext.cs
- NamespaceQuery.cs
- ShaperBuffers.cs
- ListGeneralPage.cs
- PermissionSetTriple.cs
- Boolean.cs
- OrCondition.cs
- util.cs
- WorkflowServiceNamespace.cs
- StateMachineWorkflowDesigner.cs
- TypePresenter.xaml.cs
- SafeRegistryHandle.cs
- HttpHandlerActionCollection.cs
- Label.cs
- RetrieveVirtualItemEventArgs.cs
- DebugView.cs
- NetworkStream.cs
- HttpRuntimeSection.cs
- AnnotationHighlightLayer.cs
- BinarySerializer.cs
- ErrorFormatter.cs
- TextRenderer.cs
- FileLevelControlBuilderAttribute.cs
- GacUtil.cs
- ClientConvert.cs
- SqlConnectionHelper.cs
- IgnoreFileBuildProvider.cs
- InputLanguageManager.cs
- JpegBitmapDecoder.cs
- Grammar.cs
- PartBasedPackageProperties.cs
- SspiSecurityTokenParameters.cs
- StylusButton.cs
- IDispatchConstantAttribute.cs
- Control.cs
- SQLInt64.cs
- PassportIdentity.cs
- LocalClientSecuritySettingsElement.cs
- XPathNodeList.cs
- BrowsableAttribute.cs
- DetailsView.cs
- EntityCommand.cs
- NotCondition.cs
- NativeMethods.cs
- GraphicsContainer.cs
- SHA512Managed.cs
- ExpressionPrefixAttribute.cs
- ReadWriteSpinLock.cs
- StackOverflowException.cs
- DataTableMapping.cs
- DataServices.cs
- TouchPoint.cs
- SqlUdtInfo.cs
- Transform3D.cs
- TargetControlTypeAttribute.cs
- Oid.cs
- PointCollectionValueSerializer.cs