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
- SettingsAttributes.cs
- MimeTypePropertyAttribute.cs
- DocumentPaginator.cs
- UriParserTemplates.cs
- CngAlgorithmGroup.cs
- X509Chain.cs
- MenuItem.cs
- ConnectionPoolManager.cs
- ConfigsHelper.cs
- AssemblyBuilder.cs
- Encoding.cs
- CharAnimationUsingKeyFrames.cs
- WorkingDirectoryEditor.cs
- KerberosReceiverSecurityToken.cs
- CollectionViewGroupInternal.cs
- ToolStripOverflowButton.cs
- DEREncoding.cs
- XpsFixedDocumentReaderWriter.cs
- ClaimComparer.cs
- ButtonBase.cs
- Model3D.cs
- XmlSchemaImport.cs
- EntityDataSourceSelectingEventArgs.cs
- EmptyReadOnlyDictionaryInternal.cs
- SolidBrush.cs
- ListViewSelectEventArgs.cs
- BrushValueSerializer.cs
- SearchForVirtualItemEventArgs.cs
- SiteMapDataSource.cs
- EmptyStringExpandableObjectConverter.cs
- UIElementParagraph.cs
- KnownTypes.cs
- HttpRequest.cs
- DataGridToolTip.cs
- ToolboxItemAttribute.cs
- DynamicQueryableWrapper.cs
- SiteMapDataSourceView.cs
- DllHostedComPlusServiceHost.cs
- EventLogStatus.cs
- ConcurrentBag.cs
- StringToken.cs
- WebPartsSection.cs
- CodeMemberProperty.cs
- ReflectPropertyDescriptor.cs
- PixelFormatConverter.cs
- QualificationDataAttribute.cs
- BamlVersionHeader.cs
- TransformGroup.cs
- COAUTHIDENTITY.cs
- followingquery.cs
- Annotation.cs
- ObjectQueryExecutionPlan.cs
- _SafeNetHandles.cs
- OperationFormatter.cs
- AdCreatedEventArgs.cs
- ScriptIgnoreAttribute.cs
- ConsumerConnectionPoint.cs
- _LazyAsyncResult.cs
- SafeEventLogWriteHandle.cs
- NonSerializedAttribute.cs
- SecurityManager.cs
- SynchronizationLockException.cs
- RelationshipConstraintValidator.cs
- EventLog.cs
- CombinedTcpChannel.cs
- EntitySqlQueryCacheKey.cs
- EndpointIdentity.cs
- IDispatchConstantAttribute.cs
- SqlDataReaderSmi.cs
- SizeIndependentAnimationStorage.cs
- SqlBuilder.cs
- HttpHandlerActionCollection.cs
- IDictionary.cs
- HttpCapabilitiesBase.cs
- GridViewRowPresenterBase.cs
- HwndSource.cs
- TypeDescriptionProvider.cs
- NativeMethods.cs
- ConvertersCollection.cs
- WebMessageBodyStyleHelper.cs
- TypeUtil.cs
- HttpRuntimeSection.cs
- MetadataUtilsSmi.cs
- DropSource.cs
- FileDialogCustomPlace.cs
- UnmanagedBitmapWrapper.cs
- StylusPointDescription.cs
- MailHeaderInfo.cs
- MethodExpr.cs
- EntityConnectionStringBuilder.cs
- CurrentChangingEventArgs.cs
- GatewayDefinition.cs
- ListControl.cs
- PropertyItem.cs
- ExecutionEngineException.cs
- UserControlParser.cs
- DataSourceProvider.cs
- SizeLimitedCache.cs
- ParameterCollection.cs
- DBDataPermission.cs