Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / Services / Monitoring / system / Diagnosticts / PerformanceCounterManager.cs / 1 / PerformanceCounterManager.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Diagnostics {
using System.Runtime.InteropServices;
using System;
using System.Security.Permissions;
using System.Security;
using Microsoft.Win32;
// All of this code was ported to native and this implementation is no longer used. It is not meant to be accessed directly.
// This code was no longer maintained, and it accessed the same shared memory that the new code accessed. To be certain there
// are no security holes and no serious bugs, we have removed all of the real code.
///
[
ComVisible(true), GuidAttribute("82840BE1-D273-11D2-B94A-00600893B17A"),
// Disabling partial trust scenarios
PermissionSet(SecurityAction.LinkDemand, Name="FullTrust"),
Obsolete("This class has been deprecated. Use the PerformanceCounters through the System.Diagnostics.PerformanceCounter class instead. http://go.microsoft.com/fwlink/?linkid=14202")
]
public sealed class PerformanceCounterManager : ICollectData
{
[
Obsolete("This class has been deprecated. Use the PerformanceCounters through the System.Diagnostics.PerformanceCounter class instead. http://go.microsoft.com/fwlink/?linkid=14202")
]
public PerformanceCounterManager() {
}
///
[
Obsolete("This class has been deprecated. Use the PerformanceCounters through the System.Diagnostics.PerformanceCounter class instead. http://go.microsoft.com/fwlink/?linkid=14202")
]
void ICollectData.CollectData(int callIdx, IntPtr valueNamePtr, IntPtr dataPtr, int totalBytes, out IntPtr res) {
res = (IntPtr)(-1);
}
///
[
Obsolete("This class has been deprecated. Use the PerformanceCounters through the System.Diagnostics.PerformanceCounter class instead. http://go.microsoft.com/fwlink/?linkid=14202")
]
void ICollectData.CloseData() {
}
}
}
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Buffer.cs
- MergablePropertyAttribute.cs
- SelectionItemProviderWrapper.cs
- BaseDataList.cs
- KerberosRequestorSecurityToken.cs
- MetadataUtilsSmi.cs
- DataGridViewTopLeftHeaderCell.cs
- DoubleAnimationUsingKeyFrames.cs
- UnSafeCharBuffer.cs
- Sorting.cs
- DefaultPrintController.cs
- Ipv6Element.cs
- NameSpaceEvent.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- SplashScreenNativeMethods.cs
- DispatcherExceptionFilterEventArgs.cs
- SR.cs
- ClosureBinding.cs
- DirectoryInfo.cs
- DataGridItem.cs
- RSAPKCS1SignatureDeformatter.cs
- DBCommand.cs
- HttpCookieCollection.cs
- CompilerResults.cs
- ClientRoleProvider.cs
- InstanceLockedException.cs
- ColumnWidthChangedEvent.cs
- NavigationPropertySingletonExpression.cs
- XmlnsDictionary.cs
- ClientConfigPaths.cs
- TemplatedAdorner.cs
- BaseParser.cs
- DoubleLink.cs
- ChtmlCommandAdapter.cs
- InputGestureCollection.cs
- CellIdBoolean.cs
- DefaultShape.cs
- X509CertificateTrustedIssuerElement.cs
- ConfigurationProperty.cs
- ProviderUtil.cs
- DocumentOrderQuery.cs
- TTSEngineProxy.cs
- UIPermission.cs
- infer.cs
- DataGridViewBindingCompleteEventArgs.cs
- IItemContainerGenerator.cs
- XmlElementList.cs
- TextParagraphView.cs
- CompilerState.cs
- DataGridView.cs
- XmlWrappingReader.cs
- LocatorManager.cs
- SpecialFolderEnumConverter.cs
- InvalidCommandTreeException.cs
- DesignerSelectionListAdapter.cs
- ParameterBuilder.cs
- SqlConnectionManager.cs
- ParserHooks.cs
- JournalEntryStack.cs
- WebHttpSecurity.cs
- IteratorDescriptor.cs
- ConnectionsZone.cs
- MetadataUtilsSmi.cs
- Transform3DGroup.cs
- GestureRecognitionResult.cs
- KeyInfo.cs
- PeerToPeerException.cs
- CqlGenerator.cs
- BoolExpressionVisitors.cs
- ImageConverter.cs
- EditorPart.cs
- FlowDocumentFormatter.cs
- WebPartDescriptionCollection.cs
- Win32.cs
- DecimalAnimationUsingKeyFrames.cs
- Margins.cs
- EditorPartCollection.cs
- OciLobLocator.cs
- Imaging.cs
- Selection.cs
- ScrollEvent.cs
- XsdDateTime.cs
- entityreference_tresulttype.cs
- CompilerHelpers.cs
- IgnorePropertiesAttribute.cs
- DemultiplexingDispatchMessageFormatter.cs
- FusionWrap.cs
- Typography.cs
- WebPartDescription.cs
- _AutoWebProxyScriptEngine.cs
- TypedServiceOperationListItem.cs
- SharedPersonalizationStateInfo.cs
- PathSegmentCollection.cs
- IntSecurity.cs
- Operators.cs
- SolidColorBrush.cs
- TabControl.cs
- DmlSqlGenerator.cs
- isolationinterop.cs
- PageContent.cs