Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Core / System / Diagnostics / Eventing / Reader / EventLogStatus.cs / 1305376 / EventLogStatus.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================ ** ** Class: EventLogStatus ** ** Purpose: ** This public class describes the status of a particular ** log with respect to an instantiated EventLogReader. ** Since it is possible to instantiate an EventLogReader ** with a query containing multiple logs and the reader can ** be configured to tolerate errors in attaching to those logs, ** this class allows the user to determine exactly what the status ** of those logs is. ============================================================*/ using System; namespace System.Diagnostics.Eventing.Reader{ ////// Describes the status of a particular log with respect to /// an instantiated EventLogReader. Since it is possible to /// instantiate an EventLogReader with a query containing /// multiple logs and the reader can be configured to tolerate /// errors in attaching to those logs, this class allows the /// user to determine exactly what the status of those logs is. /// [System.Security.Permissions.HostProtection(MayLeakOnAbort = true)] public sealed class EventLogStatus { private string channelName; private int win32ErrorCode; internal EventLogStatus(string channelName, int win32ErrorCode) { this.channelName = channelName; this.win32ErrorCode = win32ErrorCode; } public string LogName { get { return this.channelName; } } public int StatusCode { get { return this.win32ErrorCode; } } } } // 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
- BitmapFrame.cs
- EntityDataSourceWrapperPropertyDescriptor.cs
- StrongNameMembershipCondition.cs
- ToggleButtonAutomationPeer.cs
- WriteFileContext.cs
- ExtensionFile.cs
- ControlCollection.cs
- QilStrConcat.cs
- StoryFragments.cs
- CodeAttributeDeclaration.cs
- DataGridTextBox.cs
- xmlfixedPageInfo.cs
- ArrayHelper.cs
- DataSpaceManager.cs
- HashFinalRequest.cs
- EncryptedPackageFilter.cs
- IconBitmapDecoder.cs
- DataKey.cs
- MessageBox.cs
- TextAnchor.cs
- NativeMethods.cs
- ReferenceConverter.cs
- XamlFxTrace.cs
- KoreanCalendar.cs
- RuleSettings.cs
- Point4D.cs
- AppDomainAttributes.cs
- OdbcParameter.cs
- keycontainerpermission.cs
- ComponentChangingEvent.cs
- XmlAnyElementAttributes.cs
- EnvironmentPermission.cs
- LinqDataSourceDisposeEventArgs.cs
- ThreadAttributes.cs
- Rules.cs
- FusionWrap.cs
- PipelineModuleStepContainer.cs
- ColorConverter.cs
- MailAddress.cs
- WorkflowApplicationEventArgs.cs
- ReadOnlyAttribute.cs
- TextContainerHelper.cs
- SystemUnicastIPAddressInformation.cs
- oledbconnectionstring.cs
- X509SubjectKeyIdentifierClause.cs
- InputReportEventArgs.cs
- DragDeltaEventArgs.cs
- XmlDocumentSchema.cs
- PlanCompilerUtil.cs
- WebPartManagerInternals.cs
- BCryptHashAlgorithm.cs
- Graph.cs
- DataGridPagerStyle.cs
- ArraySortHelper.cs
- TreeViewItemAutomationPeer.cs
- StrokeNodeEnumerator.cs
- Type.cs
- StorageMappingFragment.cs
- ButtonChrome.cs
- EventLogPermissionEntry.cs
- OleDbRowUpdatedEvent.cs
- SoapProcessingBehavior.cs
- FileDialog.cs
- TypeDependencyAttribute.cs
- LoginName.cs
- SqlAggregateChecker.cs
- Rect.cs
- PriorityQueue.cs
- KeyConverter.cs
- ExtenderProvidedPropertyAttribute.cs
- AutoScrollHelper.cs
- SimpleRecyclingCache.cs
- DictionaryEntry.cs
- PersianCalendar.cs
- CommandDesigner.cs
- XamlLoadErrorInfo.cs
- ProtocolsSection.cs
- FloatAverageAggregationOperator.cs
- AuthenticationException.cs
- ObjectPersistData.cs
- SchemaReference.cs
- Mapping.cs
- ArrayExtension.cs
- InputLangChangeEvent.cs
- DataGridItemCollection.cs
- InfoCardCryptoHelper.cs
- CodePropertyReferenceExpression.cs
- Serializer.cs
- VisualCollection.cs
- DesignerRegionMouseEventArgs.cs
- SessionPageStateSection.cs
- MatrixIndependentAnimationStorage.cs
- DataBoundLiteralControl.cs
- HttpDictionary.cs
- VoiceObjectToken.cs
- IImplicitResourceProvider.cs
- UdpMessageProperty.cs
- InstanceDataCollectionCollection.cs
- QueryExpr.cs
- ConstructorBuilder.cs