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
- BamlTreeMap.cs
- BasicBrowserDialog.cs
- GroupJoinQueryOperator.cs
- SpellerStatusTable.cs
- EncryptedKeyIdentifierClause.cs
- SelectionRangeConverter.cs
- UnsafeNativeMethods.cs
- StreamInfo.cs
- MenuItemBindingCollection.cs
- TrustManagerPromptUI.cs
- PrimaryKeyTypeConverter.cs
- DocumentsTrace.cs
- ActiveXSite.cs
- LockCookie.cs
- Stack.cs
- ExeContext.cs
- VBIdentifierNameEditor.cs
- ObjectSecurity.cs
- CharEnumerator.cs
- IsolatedStoragePermission.cs
- EmptyStringExpandableObjectConverter.cs
- tooltip.cs
- DependentList.cs
- DataRowComparer.cs
- DirectoryNotFoundException.cs
- XmlArrayItemAttribute.cs
- WindowsImpersonationContext.cs
- Vector3DAnimationUsingKeyFrames.cs
- RuntimeIdentifierPropertyAttribute.cs
- QueryableFilterRepeater.cs
- Configuration.cs
- AsymmetricSignatureFormatter.cs
- ExpressionEditorSheet.cs
- HealthMonitoringSection.cs
- IncrementalCompileAnalyzer.cs
- XmlCountingReader.cs
- OutOfProcStateClientManager.cs
- DSACryptoServiceProvider.cs
- PopupRootAutomationPeer.cs
- DATA_BLOB.cs
- SimplePropertyEntry.cs
- XhtmlBasicSelectionListAdapter.cs
- SpellerStatusTable.cs
- Int64KeyFrameCollection.cs
- StdValidatorsAndConverters.cs
- PreloadedPackages.cs
- FormattedText.cs
- KeyValueSerializer.cs
- OutputCacheModule.cs
- MemberInfoSerializationHolder.cs
- MetafileHeaderWmf.cs
- InheritanceContextChangedEventManager.cs
- CultureInfo.cs
- NamedPipeChannelListener.cs
- ButtonChrome.cs
- LayoutSettings.cs
- WaitHandle.cs
- ThicknessAnimationUsingKeyFrames.cs
- WinInet.cs
- FormattedText.cs
- TrackingLocation.cs
- ToolStripSettings.cs
- Margins.cs
- FileVersionInfo.cs
- ExpressionValueEditor.cs
- Codec.cs
- MetadataItemEmitter.cs
- KnownTypes.cs
- ResourcePart.cs
- CqlParserHelpers.cs
- CRYPTPROTECT_PROMPTSTRUCT.cs
- PocoPropertyAccessorStrategy.cs
- VisualBrush.cs
- WpfWebRequestHelper.cs
- BrowsableAttribute.cs
- ExpandSegmentCollection.cs
- EntityDataSourceColumn.cs
- XPathScanner.cs
- DbExpressionBuilder.cs
- ExtensionSurface.cs
- WebPartPersonalization.cs
- ExtensionDataObject.cs
- ServiceOperationDetailViewControl.cs
- PackageStore.cs
- FixedSOMTableCell.cs
- DataGridViewComboBoxColumn.cs
- XmlDocumentType.cs
- CodeFieldReferenceExpression.cs
- XmlAnyElementAttributes.cs
- DataObject.cs
- MetafileHeader.cs
- UserPreferenceChangedEventArgs.cs
- SharedMemory.cs
- ChannelBase.cs
- ColorAnimationUsingKeyFrames.cs
- ScrollChrome.cs
- OleDbDataReader.cs
- DataGridViewCellStyleConverter.cs
- ReversePositionQuery.cs
- FileAuthorizationModule.cs