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
- InternalRelationshipCollection.cs
- LoginDesignerUtil.cs
- TypeGeneratedEventArgs.cs
- AuthenticationService.cs
- TextEditorCharacters.cs
- HandlerBase.cs
- SimpleBitVector32.cs
- ConstructorExpr.cs
- DocumentPageHost.cs
- Converter.cs
- BinaryReader.cs
- InertiaTranslationBehavior.cs
- DBDataPermission.cs
- DataGridTextBoxColumn.cs
- ProtocolElementCollection.cs
- MetadataItemSerializer.cs
- RoleService.cs
- RelationshipEndCollection.cs
- UidManager.cs
- NameTable.cs
- Script.cs
- MessageUtil.cs
- CaretElement.cs
- EventPrivateKey.cs
- CoreSwitches.cs
- updatecommandorderer.cs
- AttributeAction.cs
- TemplateComponentConnector.cs
- SettingsBase.cs
- SystemFonts.cs
- HttpStreamFormatter.cs
- SynchronizationFilter.cs
- _SpnDictionary.cs
- ConsumerConnectionPoint.cs
- TypeUnloadedException.cs
- HttpProfileGroupBase.cs
- SQLDouble.cs
- TailCallAnalyzer.cs
- RemotingException.cs
- TextEditorDragDrop.cs
- CategoryNameCollection.cs
- UnsupportedPolicyOptionsException.cs
- PropertyInformationCollection.cs
- CustomErrorCollection.cs
- AutoGeneratedFieldProperties.cs
- DefinitionUpdate.cs
- MembershipUser.cs
- PropertySegmentSerializationProvider.cs
- DetailsViewUpdatedEventArgs.cs
- _TransmitFileOverlappedAsyncResult.cs
- StackSpiller.Temps.cs
- SapiRecognizer.cs
- DoubleLinkListEnumerator.cs
- Symbol.cs
- ApplicationDirectoryMembershipCondition.cs
- EntityUtil.cs
- ISAPIApplicationHost.cs
- SiteMapNodeCollection.cs
- QueueProcessor.cs
- ObjectItemLoadingSessionData.cs
- LineGeometry.cs
- SimpleTableProvider.cs
- List.cs
- cookieexception.cs
- AssertFilter.cs
- Error.cs
- DataBinder.cs
- CookielessHelper.cs
- sqlstateclientmanager.cs
- AutomationAttributeInfo.cs
- IsolatedStorageFile.cs
- mediaeventshelper.cs
- RectAnimation.cs
- Trace.cs
- XamlWriter.cs
- ColorDialog.cs
- VisualStyleTypesAndProperties.cs
- Attributes.cs
- ObjectStateFormatter.cs
- SystemDropShadowChrome.cs
- TimeManager.cs
- DbConnectionPoolIdentity.cs
- AutomationPatternInfo.cs
- WebPartRestoreVerb.cs
- XmlAttributeProperties.cs
- PageAsyncTask.cs
- _ListenerAsyncResult.cs
- StatusCommandUI.cs
- ConfigUtil.cs
- FontStretch.cs
- ObjectToken.cs
- IPHostEntry.cs
- CorrelationToken.cs
- EncryptedXml.cs
- ReliableRequestSessionChannel.cs
- WebPartMenuStyle.cs
- tibetanshape.cs
- FrameworkObject.cs
- BrushValueSerializer.cs
- JapaneseLunisolarCalendar.cs