Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Base / MS / Internal / AvTraceDetails.cs / 1305600 / AvTraceDetails.cs
/****************************************************************************\ * * File: AvTraceDetails.cs * * Copyright (C) by Microsoft Corporation. All rights reserved. * \***************************************************************************/ namespace MS.Internal { // This class represents the details of a single trace (the ID and message strings). // This is used by the AvTrace class and callers. internal class AvTraceDetails { public AvTraceDetails( int id, string[] labels ) { _id = id; _labels = labels; } // Each trace has a differnt ID public int Id { get { return _id; } } // base trace message/format-string public virtual string Message { get { return _labels[0]; } } // parameter labels (with base trace message/format-string at index 0) public string[] Labels { get { return _labels; } } int _id; string[] _labels; } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. /****************************************************************************\ * * File: AvTraceDetails.cs * * Copyright (C) by Microsoft Corporation. All rights reserved. * \***************************************************************************/ namespace MS.Internal { // This class represents the details of a single trace (the ID and message strings). // This is used by the AvTrace class and callers. internal class AvTraceDetails { public AvTraceDetails( int id, string[] labels ) { _id = id; _labels = labels; } // Each trace has a differnt ID public int Id { get { return _id; } } // base trace message/format-string public virtual string Message { get { return _labels[0]; } } // parameter labels (with base trace message/format-string at index 0) public string[] Labels { get { return _labels; } } int _id; string[] _labels; } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- HierarchicalDataSourceControl.cs
- UIAgentAsyncBeginRequest.cs
- CodeMemberProperty.cs
- UnsafeNativeMethods.cs
- JournalEntry.cs
- DocobjHost.cs
- InheritanceAttribute.cs
- safex509handles.cs
- DynamicPropertyReader.cs
- LineMetrics.cs
- TdsParserHelperClasses.cs
- CustomWebEventKey.cs
- LOSFormatter.cs
- Helpers.cs
- SmiContext.cs
- WindowsAuthenticationEventArgs.cs
- Comparer.cs
- CreateParams.cs
- X509CertificateValidationMode.cs
- VisualBrush.cs
- GradientSpreadMethodValidation.cs
- AdvancedBindingEditor.cs
- DataGridColumnReorderingEventArgs.cs
- GeometryGroup.cs
- SchemaNames.cs
- UnsafeNetInfoNativeMethods.cs
- InheritablePropertyChangeInfo.cs
- StatusBarItemAutomationPeer.cs
- AutoCompleteStringCollection.cs
- MsmqIntegrationInputChannel.cs
- InputLanguageManager.cs
- PointAnimationUsingPath.cs
- PropertyManager.cs
- SchemaDeclBase.cs
- ImageInfo.cs
- ManagementEventArgs.cs
- ClientTargetCollection.cs
- EventWaitHandleSecurity.cs
- MobileFormsAuthentication.cs
- BitmapPalettes.cs
- OleDbReferenceCollection.cs
- XPathNodePointer.cs
- ImageKeyConverter.cs
- DataRowExtensions.cs
- DataGridParentRows.cs
- AsyncPostBackTrigger.cs
- HttpApplicationFactory.cs
- PropertyInfoSet.cs
- TextParagraphView.cs
- GroupBoxAutomationPeer.cs
- PromptBuilder.cs
- DataGridItem.cs
- ContextDataSourceView.cs
- FamilyMap.cs
- SqlWriter.cs
- ServiceOperationHelpers.cs
- BulletedList.cs
- XmlJsonReader.cs
- PriorityQueue.cs
- SQLMoneyStorage.cs
- JsonDataContract.cs
- EntityDataSourceSelectedEventArgs.cs
- EnvironmentPermission.cs
- WindowsFormsLinkLabel.cs
- FontDifferentiator.cs
- LocalBuilder.cs
- login.cs
- ExpressionConverter.cs
- UpdateManifestForBrowserApplication.cs
- UrlPropertyAttribute.cs
- Grid.cs
- _UriTypeConverter.cs
- DataControlField.cs
- TypeContext.cs
- EventSinkHelperWriter.cs
- SqlError.cs
- SHA256Managed.cs
- DataGridViewAutoSizeColumnModeEventArgs.cs
- DeclarativeCatalogPart.cs
- CollectionBase.cs
- Timer.cs
- Binding.cs
- Transform.cs
- EventLogPermissionEntry.cs
- DbCommandDefinition.cs
- WmiInstallComponent.cs
- ModuleConfigurationInfo.cs
- XmlAttributeOverrides.cs
- NumericUpDownAccelerationCollection.cs
- DirectoryNotFoundException.cs
- Triangle.cs
- BackoffTimeoutHelper.cs
- DataGridViewMethods.cs
- WebHttpEndpoint.cs
- BitmapFrameDecode.cs
- NodeLabelEditEvent.cs
- MouseDevice.cs
- SmiGettersStream.cs
- Behavior.cs
- TaskScheduler.cs