Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Base / MS / Internal / AvTraceFormat.cs / 1305600 / AvTraceFormat.cs
/****************************************************************************\ * * File: AvTraceFormat.cs * * Copyright (C) by Microsoft Corporation. All rights reserved. * \***************************************************************************/ namespace MS.Internal { // This class represents the details of a single trace (the ID, a formatted message string, and parameter labels). // This is used by the AvTrace class and callers. internal class AvTraceFormat : AvTraceDetails { public AvTraceFormat( AvTraceDetails details, object[] args ) : base(details.Id, details.Labels) { _message = string.Format(System.Globalization.CultureInfo.InvariantCulture, details.Labels[0], args); } // main message (formatted) public override string Message { get { return _message; } } string _message; } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. /****************************************************************************\ * * File: AvTraceFormat.cs * * Copyright (C) by Microsoft Corporation. All rights reserved. * \***************************************************************************/ namespace MS.Internal { // This class represents the details of a single trace (the ID, a formatted message string, and parameter labels). // This is used by the AvTrace class and callers. internal class AvTraceFormat : AvTraceDetails { public AvTraceFormat( AvTraceDetails details, object[] args ) : base(details.Id, details.Labels) { _message = string.Format(System.Globalization.CultureInfo.InvariantCulture, details.Labels[0], args); } // main message (formatted) public override string Message { get { return _message; } } string _message; } } // 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
- tabpagecollectioneditor.cs
- CodeIdentifier.cs
- SystemIPInterfaceProperties.cs
- MouseCaptureWithinProperty.cs
- HTTP_SERVICE_CONFIG_URLACL_KEY.cs
- XmlResolver.cs
- InkCollectionBehavior.cs
- BuildProviderCollection.cs
- EncodingTable.cs
- DataListItem.cs
- WebPartCatalogAddVerb.cs
- MainMenu.cs
- XomlCompilerHelpers.cs
- CFStream.cs
- FontWeightConverter.cs
- COM2IProvidePropertyBuilderHandler.cs
- DocumentsTrace.cs
- OLEDB_Enum.cs
- ArraySubsetEnumerator.cs
- OAVariantLib.cs
- ConnectionPointGlyph.cs
- BitmapEffectState.cs
- AnnotationHelper.cs
- LassoHelper.cs
- WorkflowDispatchContext.cs
- ComContractElement.cs
- PersianCalendar.cs
- formatstringdialog.cs
- EmbeddedMailObjectCollectionEditor.cs
- SpnEndpointIdentityExtension.cs
- SimpleBitVector32.cs
- ViewPort3D.cs
- ResourcePropertyMemberCodeDomSerializer.cs
- EpmTargetTree.cs
- _RequestCacheProtocol.cs
- Buffer.cs
- WorkflowRuntimeSection.cs
- TableItemProviderWrapper.cs
- MetadataArtifactLoaderCompositeFile.cs
- LocalIdKeyIdentifierClause.cs
- StaticSiteMapProvider.cs
- InkCanvasInnerCanvas.cs
- DelayedRegex.cs
- XmlAtomicValue.cs
- XamlToRtfParser.cs
- TriState.cs
- SurrogateEncoder.cs
- EntityTransaction.cs
- TypeElement.cs
- FastPropertyAccessor.cs
- QilList.cs
- ListViewItem.cs
- HttpRequestCacheValidator.cs
- EntitySqlQueryBuilder.cs
- ConnectorEditor.cs
- Panel.cs
- CodeTypeDelegate.cs
- LinkArea.cs
- DocumentXPathNavigator.cs
- ReplyChannelAcceptor.cs
- _UriSyntax.cs
- TextureBrush.cs
- BufferModesCollection.cs
- DataGridViewComboBoxEditingControl.cs
- ErrorTableItemStyle.cs
- HGlobalSafeHandle.cs
- PackWebRequestFactory.cs
- CodeRegionDirective.cs
- NativeMethods.cs
- AlternateViewCollection.cs
- CodeLinePragma.cs
- SqlTopReducer.cs
- DataSourceCacheDurationConverter.cs
- StringFormat.cs
- ContainerParagraph.cs
- MetadataArtifactLoader.cs
- DragDrop.cs
- ImageSource.cs
- HebrewCalendar.cs
- SchemaComplexType.cs
- CodeSnippetStatement.cs
- WindowsFormsLinkLabel.cs
- CheckBoxBaseAdapter.cs
- VisualCollection.cs
- BindValidationContext.cs
- Window.cs
- RowUpdatedEventArgs.cs
- BrowserCapabilitiesCodeGenerator.cs
- ColorMatrix.cs
- DataGridPagerStyle.cs
- HTMLTextWriter.cs
- MenuItemBindingCollection.cs
- RangeBase.cs
- ZipQueryOperator.cs
- GreenMethods.cs
- ExpressionDumper.cs
- NativeMethods.cs
- HandleCollector.cs
- Win32.cs
- Suspend.cs