Code:
/ 4.0 / 4.0 / 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. #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
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- CodeActivityMetadata.cs
- RelatedCurrencyManager.cs
- SerialPort.cs
- PackagingUtilities.cs
- DocumentXPathNavigator.cs
- sqlpipe.cs
- Attributes.cs
- ListBindingHelper.cs
- RootProfilePropertySettingsCollection.cs
- XmlSchemaAttributeGroup.cs
- COM2ExtendedBrowsingHandler.cs
- IpcPort.cs
- PersistenceException.cs
- Version.cs
- FtpWebRequest.cs
- BamlRecords.cs
- ComplexTypeEmitter.cs
- InvokeWebServiceDesigner.cs
- RegexCompiler.cs
- EventDescriptorCollection.cs
- ScriptingAuthenticationServiceSection.cs
- PermissionRequestEvidence.cs
- MarginsConverter.cs
- login.cs
- SizeAnimationClockResource.cs
- WindowsGraphics2.cs
- ByteConverter.cs
- StyleCollection.cs
- _DisconnectOverlappedAsyncResult.cs
- TypefaceMetricsCache.cs
- ObjectAnimationBase.cs
- WindowsPen.cs
- XmlTextAttribute.cs
- TraceFilter.cs
- SchemaImporterExtensionsSection.cs
- SqlWebEventProvider.cs
- Geometry3D.cs
- CapabilitiesRule.cs
- IdnElement.cs
- Object.cs
- TextElementEditingBehaviorAttribute.cs
- EntityContainer.cs
- ClientFormsIdentity.cs
- WorkflowPersistenceService.cs
- sqlcontext.cs
- TextLineBreak.cs
- UnmanagedMemoryAccessor.cs
- XmlTypeMapping.cs
- ImageInfo.cs
- ExpressionLexer.cs
- WindowsListBox.cs
- PropertyInformationCollection.cs
- PageContentCollection.cs
- DataView.cs
- XmlSchemas.cs
- ComplexTypeEmitter.cs
- LicenseContext.cs
- CommandHelpers.cs
- WindowsRichEditRange.cs
- ChtmlTextWriter.cs
- HtmlContainerControl.cs
- WeakRefEnumerator.cs
- MouseGesture.cs
- ThreadStartException.cs
- TypeUtil.cs
- RotateTransform.cs
- PropertyIDSet.cs
- DrawingServices.cs
- WindowsFormsHost.cs
- InputReferenceExpression.cs
- SafePipeHandle.cs
- BamlCollectionHolder.cs
- AccessViolationException.cs
- DefaultMemberAttribute.cs
- DataTableReader.cs
- IsolatedStorageFileStream.cs
- DebugController.cs
- Compress.cs
- RowToParametersTransformer.cs
- ELinqQueryState.cs
- DataBoundControlAdapter.cs
- RelationshipConstraintValidator.cs
- SqlInfoMessageEvent.cs
- PersistChildrenAttribute.cs
- TrackingLocation.cs
- ScriptReferenceBase.cs
- RandomDelayQueuedSendsAsyncResult.cs
- ServiceContractViewControl.Designer.cs
- StringToken.cs
- ImageProxy.cs
- AnnotationElement.cs
- ToolZone.cs
- DESCryptoServiceProvider.cs
- SQLResource.cs
- ItemChangedEventArgs.cs
- XPathCompileException.cs
- LocalizationParserHooks.cs
- EmbeddedMailObjectsCollection.cs
- DataViewSetting.cs
- DelayDesigner.cs