Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / wpf / src / Base / MS / Internal / AvTraceDetails.cs / 1 / 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
- ListSortDescription.cs
- URLString.cs
- Converter.cs
- WindowsImpersonationContext.cs
- Authorization.cs
- RIPEMD160Managed.cs
- SmtpSection.cs
- MouseBinding.cs
- SynchronizedReadOnlyCollection.cs
- SecurityElement.cs
- ExpressionEditorAttribute.cs
- ResourcePart.cs
- HGlobalSafeHandle.cs
- ExeConfigurationFileMap.cs
- SqlNotificationEventArgs.cs
- XmlDataLoader.cs
- TransformerInfoCollection.cs
- Button.cs
- ContactManager.cs
- WebFormsRootDesigner.cs
- SqlConnectionPoolProviderInfo.cs
- PolygonHotSpot.cs
- ProfileGroupSettings.cs
- HuffModule.cs
- Effect.cs
- CustomAttributeBuilder.cs
- TabItemWrapperAutomationPeer.cs
- XmlSchemaAttribute.cs
- CachedBitmap.cs
- StringUtil.cs
- TimerExtension.cs
- FacetChecker.cs
- ObjectQuery_EntitySqlExtensions.cs
- WebPermission.cs
- UriTemplateMatch.cs
- IApplicationTrustManager.cs
- ReadOnlyDataSourceView.cs
- DiscreteKeyFrames.cs
- ExtensibleClassFactory.cs
- ConsumerConnectionPoint.cs
- ToolboxControl.cs
- FrameworkElementAutomationPeer.cs
- X509Certificate.cs
- DataBoundLiteralControl.cs
- SelectionWordBreaker.cs
- FamilyTypeface.cs
- WebPartChrome.cs
- DrawListViewSubItemEventArgs.cs
- WindowsAuthenticationModule.cs
- BitmapInitialize.cs
- ExpandableObjectConverter.cs
- Win32.cs
- GetPageCompletedEventArgs.cs
- IndexedString.cs
- SoapAttributes.cs
- ProxyAttribute.cs
- DataTableClearEvent.cs
- XmlSchemaSimpleContent.cs
- DPTypeDescriptorContext.cs
- SafeLocalMemHandle.cs
- DbCommandDefinition.cs
- SortAction.cs
- PathSegmentCollection.cs
- DataGridItemAttachedStorage.cs
- KernelTypeValidation.cs
- ConstNode.cs
- Utility.cs
- IgnoreDeviceFilterElementCollection.cs
- ProvidePropertyAttribute.cs
- FastPropertyAccessor.cs
- _CommandStream.cs
- MarshalByRefObject.cs
- CompilerError.cs
- DesignColumnCollection.cs
- ClientEventManager.cs
- FileRecordSequence.cs
- Semaphore.cs
- ObjectListCommandCollection.cs
- indexingfiltermarshaler.cs
- ImportContext.cs
- RegistrationServices.cs
- entityreference_tresulttype.cs
- IList.cs
- PermissionSetTriple.cs
- ContentValidator.cs
- NamespaceInfo.cs
- SQLBytesStorage.cs
- WaitHandleCannotBeOpenedException.cs
- BypassElementCollection.cs
- TrustManagerPromptUI.cs
- NamespaceCollection.cs
- ConfigurationManagerHelper.cs
- UnsafeNativeMethods.cs
- SqlProfileProvider.cs
- PropertyMetadata.cs
- SoapClientMessage.cs
- ParameterElement.cs
- DateTimeFormat.cs
- PriorityChain.cs
- Deflater.cs