Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Core / System / Diagnostics / Eventing / Reader / EventRecordWrittenEventArgs.cs / 1305376 / EventRecordWrittenEventArgs.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================ ** ** Class: EventRecordWrittenEventArgs ** ** Purpose: ** The EventArgs class for an EventLogWatcher notification. ** ============================================================*/ using System; using System.IO; using System.Collections.Generic; using System.Threading; using System.Security.Permissions; using Microsoft.Win32; namespace System.Diagnostics.Eventing.Reader { ////// the custom event handler args. /// [System.Security.Permissions.HostProtection(MayLeakOnAbort = true)] public sealed class EventRecordWrittenEventArgs : EventArgs { private EventRecord record; private Exception exception; internal EventRecordWrittenEventArgs(EventLogRecord record) { this.record = record; } internal EventRecordWrittenEventArgs(EventLogException exception) { this.exception = exception; } ////// The EventRecord being notified. /// NOTE: If non null, then caller is required to call Dispose(). /// public EventRecord EventRecord { get { return this.record; } } ////// If any error occured during subscription, this will be non-null. /// After a notification containing an exception, no more notifications will /// be made for this subscription. /// public Exception EventException { get{ return this.exception; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- PopupRootAutomationPeer.cs
- RichTextBox.cs
- Util.cs
- HelpEvent.cs
- SubMenuStyle.cs
- CompiledQuery.cs
- Registry.cs
- _DomainName.cs
- MenuCommands.cs
- BitHelper.cs
- FormViewModeEventArgs.cs
- PointLight.cs
- FormViewDesigner.cs
- RawKeyboardInputReport.cs
- TreeBuilderBamlTranslator.cs
- RegistryDataKey.cs
- WS2007HttpBinding.cs
- TreeViewHitTestInfo.cs
- Int32.cs
- WebBrowserHelper.cs
- ChildTable.cs
- WebPartConnectionsEventArgs.cs
- SendMailErrorEventArgs.cs
- StringValueSerializer.cs
- ProtocolsConfigurationHandler.cs
- GenerateHelper.cs
- TextOutput.cs
- IPipelineRuntime.cs
- DependencyPropertyValueSerializer.cs
- MetadataWorkspace.cs
- IteratorFilter.cs
- NumericPagerField.cs
- ArrayConverter.cs
- RSAOAEPKeyExchangeFormatter.cs
- FaultBookmark.cs
- SignedInfo.cs
- UiaCoreApi.cs
- PersonalizationAdministration.cs
- CalendarData.cs
- WindowsGraphics.cs
- ResourcesBuildProvider.cs
- FilteredDataSetHelper.cs
- OdbcConnectionPoolProviderInfo.cs
- ModelServiceImpl.cs
- Overlapped.cs
- UniqueIdentifierService.cs
- TypeDescriptionProviderAttribute.cs
- XmlAttribute.cs
- QilScopedVisitor.cs
- XamlWrapperReaders.cs
- HtmlPanelAdapter.cs
- ConfigsHelper.cs
- TimeoutConverter.cs
- SchemaCollectionCompiler.cs
- safesecurityhelperavalon.cs
- ParsedRoute.cs
- IBuiltInEvidence.cs
- Int64KeyFrameCollection.cs
- DataSvcMapFileSerializer.cs
- SharedHttpTransportManager.cs
- DocumentManager.cs
- PrimitiveXmlSerializers.cs
- ToolStripGrip.cs
- DBConnection.cs
- ImageListStreamer.cs
- PolyLineSegmentFigureLogic.cs
- StyleSheetDesigner.cs
- DisposableCollectionWrapper.cs
- TimeoutValidationAttribute.cs
- BasicBrowserDialog.cs
- TimeZone.cs
- PersonalizationProviderHelper.cs
- LookupBindingPropertiesAttribute.cs
- RectConverter.cs
- SocketElement.cs
- SByteConverter.cs
- DesignOnlyAttribute.cs
- LockedBorderGlyph.cs
- WhileDesigner.xaml.cs
- BrowserCapabilitiesFactory.cs
- TimerTable.cs
- KnownBoxes.cs
- InkCanvasAutomationPeer.cs
- ConnectionStringSettings.cs
- MimeMapping.cs
- RuntimeIdentifierPropertyAttribute.cs
- TextServicesCompartmentContext.cs
- EdmFunction.cs
- ChannelBase.cs
- ReturnValue.cs
- TypeBuilderInstantiation.cs
- ToolboxItemCollection.cs
- Accessors.cs
- KerberosTicketHashIdentifierClause.cs
- ObjectDataSourceWizardForm.cs
- AlgoModule.cs
- DefaultHttpHandler.cs
- XmlUtf8RawTextWriter.cs
- VideoDrawing.cs
- CodeEventReferenceExpression.cs