Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / wpf / src / Base / MS / Internal / AvTraceFormat.cs / 1 / 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
- AnonymousIdentificationModule.cs
- SemanticResultValue.cs
- SpecialFolderEnumConverter.cs
- ServiceDescriptionContext.cs
- FormatVersion.cs
- VisualBrush.cs
- Geometry.cs
- PerfService.cs
- StringAnimationBase.cs
- EncodingInfo.cs
- TextSerializer.cs
- UIElementHelper.cs
- HtmlTextArea.cs
- AbstractExpressions.cs
- WCFModelStrings.Designer.cs
- VectorAnimationUsingKeyFrames.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- FormViewInsertEventArgs.cs
- DataGridItem.cs
- ModelFunction.cs
- ConfigXmlSignificantWhitespace.cs
- ParentQuery.cs
- RectConverter.cs
- HtmlInputPassword.cs
- PeerToPeerException.cs
- SerializationInfo.cs
- SpellCheck.cs
- EntityDataSourceDesignerHelper.cs
- CustomPopupPlacement.cs
- SignatureSummaryDialog.cs
- GridViewRow.cs
- InfoCardTraceRecord.cs
- securitycriticaldataformultiplegetandset.cs
- FusionWrap.cs
- XmlSchemaCompilationSettings.cs
- ObjectDisposedException.cs
- Italic.cs
- ZoneButton.cs
- CompositeScriptReference.cs
- RowVisual.cs
- GreenMethods.cs
- SqlCommandSet.cs
- ScriptReferenceBase.cs
- NonBatchDirectoryCompiler.cs
- QuaternionAnimation.cs
- ButtonFieldBase.cs
- SqlPersonalizationProvider.cs
- LinqDataSourceStatusEventArgs.cs
- MimePart.cs
- TraceContext.cs
- SubstitutionResponseElement.cs
- Validator.cs
- LabelTarget.cs
- HtmlTextViewAdapter.cs
- EncryptedXml.cs
- WaitHandle.cs
- ConnectionManager.cs
- Geometry.cs
- BooleanStorage.cs
- UnsafeNativeMethods.cs
- ExpandCollapsePatternIdentifiers.cs
- ToolStripPanel.cs
- Predicate.cs
- TempFiles.cs
- TextWriterTraceListener.cs
- ListBindingHelper.cs
- LinkLabel.cs
- ImageSourceConverter.cs
- DbUpdateCommandTree.cs
- StateChangeEvent.cs
- DataGridViewCheckBoxColumn.cs
- ErrorStyle.cs
- ValueUtilsSmi.cs
- BitmapFrame.cs
- RegistrationServices.cs
- ComboBoxItem.cs
- ChtmlTextWriter.cs
- SeekStoryboard.cs
- OleDbMetaDataFactory.cs
- Line.cs
- ApplicationDirectoryMembershipCondition.cs
- CharKeyFrameCollection.cs
- ResourceDictionaryCollection.cs
- SqlInfoMessageEvent.cs
- MediaPlayer.cs
- CompilerWrapper.cs
- _NegoStream.cs
- ServerValidateEventArgs.cs
- CacheEntry.cs
- HitTestWithGeometryDrawingContextWalker.cs
- SecUtil.cs
- ClientCredentialsElement.cs
- FtpRequestCacheValidator.cs
- ProgressBarRenderer.cs
- ProtocolsConfiguration.cs
- QuaternionAnimationBase.cs
- Container.cs
- ServiceDescriptions.cs
- SolidBrush.cs
- Boolean.cs