Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / Services / Monitoring / system / Diagnosticts / EntryWrittenEventArgs.cs / 1 / EntryWrittenEventArgs.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Diagnostics {
using System.Diagnostics;
using System;
using System.ComponentModel;
///
///
/// Provides data for the event.
///
///
public class EntryWrittenEventArgs : EventArgs {
private EventLogEntry entry;
///
///
/// The default constructor, which
/// initializes a new instance of the class without
/// specifying a value for .
///
///
///
public EntryWrittenEventArgs() {
}
///
///
/// Initializes a new instance of the class with the
/// specified event log entry.
///
///
public EntryWrittenEventArgs(EventLogEntry entry) {
this.entry = entry;
}
///
///
/// Represents
/// an event log entry.
///
///
///
public EventLogEntry Entry {
get {
return this.entry;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Diagnostics {
using System.Diagnostics;
using System;
using System.ComponentModel;
///
///
/// Provides data for the event.
///
///
public class EntryWrittenEventArgs : EventArgs {
private EventLogEntry entry;
///
///
/// The default constructor, which
/// initializes a new instance of the class without
/// specifying a value for .
///
///
///
public EntryWrittenEventArgs() {
}
///
///
/// Initializes a new instance of the class with the
/// specified event log entry.
///
///
public EntryWrittenEventArgs(EventLogEntry entry) {
this.entry = entry;
}
///
///
/// Represents
/// an event log entry.
///
///
///
public EventLogEntry Entry {
get {
return this.entry;
}
}
}
}
// 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
- FixedTextPointer.cs
- _NetRes.cs
- DiagnosticsConfiguration.cs
- XmlMtomReader.cs
- ErrorTableItemStyle.cs
- XmlSerializerVersionAttribute.cs
- WmpBitmapDecoder.cs
- CodeTypeDeclaration.cs
- WindowsTokenRoleProvider.cs
- ResourceExpressionBuilder.cs
- PageCatalogPart.cs
- StatusBarPanel.cs
- PropertyEmitterBase.cs
- DesignSurfaceServiceContainer.cs
- SerializationSectionGroup.cs
- XmlHelper.cs
- DataGridViewRowHeaderCell.cs
- FormatConvertedBitmap.cs
- KeyboardNavigation.cs
- WorkflowInstance.cs
- SdlChannelSink.cs
- PackageDigitalSignatureManager.cs
- SubstitutionList.cs
- GroupJoinQueryOperator.cs
- XmlChoiceIdentifierAttribute.cs
- LinkLabelLinkClickedEvent.cs
- ProfilePropertyMetadata.cs
- XmlSchemaInferenceException.cs
- DBDataPermission.cs
- Light.cs
- WebRequestModuleElement.cs
- EntityViewGenerationAttribute.cs
- ProfileManager.cs
- EntityDataSourceSelectingEventArgs.cs
- SelectionItemProviderWrapper.cs
- GeneratedCodeAttribute.cs
- codemethodreferenceexpression.cs
- WebPartCatalogCloseVerb.cs
- UnionExpr.cs
- Win32.cs
- EnumerableCollectionView.cs
- ContextTokenTypeConverter.cs
- TargetPerspective.cs
- Type.cs
- ColorMap.cs
- FileNotFoundException.cs
- EntityConnection.cs
- WizardStepBase.cs
- ChangeProcessor.cs
- ViewStateModeByIdAttribute.cs
- TableLayoutSettings.cs
- XmlNamespaceManager.cs
- ReadOnlyMetadataCollection.cs
- MachineSettingsSection.cs
- WebDisplayNameAttribute.cs
- HttpPostProtocolReflector.cs
- RuntimeEnvironment.cs
- RepeaterItemEventArgs.cs
- Activity.cs
- TimeSpanStorage.cs
- TransformerConfigurationWizardBase.cs
- CaseInsensitiveComparer.cs
- DetailsViewDeletedEventArgs.cs
- CookieProtection.cs
- SHA512Managed.cs
- RefreshPropertiesAttribute.cs
- BinaryConverter.cs
- SafeEventLogWriteHandle.cs
- UInt16.cs
- ReflectEventDescriptor.cs
- ReadWriteObjectLock.cs
- CodeGenerationManager.cs
- FillRuleValidation.cs
- MasterPageBuildProvider.cs
- PagedDataSource.cs
- UrlMappingCollection.cs
- DataGridViewAccessibleObject.cs
- ContextMenuStrip.cs
- ClientEventManager.cs
- SamlSubjectStatement.cs
- AttachInfo.cs
- SqlProcedureAttribute.cs
- ClientEndpointLoader.cs
- DayRenderEvent.cs
- PrePostDescendentsWalker.cs
- RichTextBoxConstants.cs
- SecurityException.cs
- CalendarDay.cs
- ResourceSet.cs
- RootBuilder.cs
- FilterQueryOptionExpression.cs
- InvokeHandlers.cs
- FastEncoder.cs
- SqlDataAdapter.cs
- ThrowHelper.cs
- ToolStripSeparator.cs
- PropertyIDSet.cs
- SmiContextFactory.cs
- ThemeDictionaryExtension.cs
- LabelLiteral.cs