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
- HMACSHA256.cs
- WorkflowDispatchContext.cs
- GenericRootAutomationPeer.cs
- COM2FontConverter.cs
- PagesChangedEventArgs.cs
- FunctionNode.cs
- DBSchemaRow.cs
- AmbientLight.cs
- HelpHtmlBuilder.cs
- ParserExtension.cs
- ConnectionString.cs
- ServiceAuthorizationBehavior.cs
- ListManagerBindingsCollection.cs
- AsymmetricSecurityProtocol.cs
- RegistryConfigurationProvider.cs
- GifBitmapEncoder.cs
- DataViewManager.cs
- StringResourceManager.cs
- ButtonBaseAutomationPeer.cs
- ScrollChangedEventArgs.cs
- DigitalSignatureProvider.cs
- WebPartEditorApplyVerb.cs
- XmlLoader.cs
- CodeAssignStatement.cs
- VectorCollection.cs
- WorkflowPrinting.cs
- TargetConverter.cs
- AdornerDecorator.cs
- PopupControlService.cs
- DocumentSequence.cs
- ActivityDesignerLayoutSerializers.cs
- CompoundFileStorageReference.cs
- CheckBox.cs
- PenCursorManager.cs
- DataRelation.cs
- EventLogPermissionAttribute.cs
- SafeNativeMethods.cs
- EdmItemCollection.OcAssemblyCache.cs
- FormParameter.cs
- NullEntityWrapper.cs
- ProxyGenerationError.cs
- TimeSpanMinutesConverter.cs
- FontUnitConverter.cs
- VirtualizingStackPanel.cs
- WizardPanelChangingEventArgs.cs
- PartialCachingAttribute.cs
- ToolStripButton.cs
- Win32.cs
- Expander.cs
- SslStream.cs
- GenerateScriptTypeAttribute.cs
- Comparer.cs
- ErrorFormatter.cs
- HwndHostAutomationPeer.cs
- EntityCommandExecutionException.cs
- IHttpResponseInternal.cs
- ComponentConverter.cs
- DataError.cs
- DeviceContext2.cs
- XsdCachingReader.cs
- Color.cs
- TransactionManagerProxy.cs
- ControlPropertyNameConverter.cs
- ApplicationCommands.cs
- FileSystemWatcher.cs
- ReaderOutput.cs
- CounterSample.cs
- ResourceExpressionEditorSheet.cs
- CreateUserWizardStep.cs
- ParamArrayAttribute.cs
- InheritanceContextHelper.cs
- CookielessHelper.cs
- WpfXamlLoader.cs
- NativeActivityTransactionContext.cs
- DragStartedEventArgs.cs
- _HeaderInfo.cs
- URLBuilder.cs
- SqlWorkflowInstanceStore.cs
- CookielessData.cs
- DataError.cs
- Debug.cs
- DesigntimeLicenseContext.cs
- BuildManager.cs
- NCryptNative.cs
- oledbconnectionstring.cs
- CommandHelpers.cs
- EntitySqlException.cs
- SafeCertificateContext.cs
- ListViewGroupItemCollection.cs
- SecurityPermission.cs
- DataGridViewSortCompareEventArgs.cs
- CodeBlockBuilder.cs
- Converter.cs
- CustomBindingCollectionElement.cs
- ActivityInfo.cs
- FigureHelper.cs
- WorkflowControlEndpoint.cs
- ButtonChrome.cs
- DocumentXmlWriter.cs
- MSG.cs