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
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DoubleMinMaxAggregationOperator.cs
- PersonalizationAdministration.cs
- URIFormatException.cs
- DataGridViewCellValidatingEventArgs.cs
- PublishLicense.cs
- PasswordPropertyTextAttribute.cs
- ConfigurationPropertyAttribute.cs
- SqlLiftIndependentRowExpressions.cs
- UTF8Encoding.cs
- RelationshipSet.cs
- ExcCanonicalXml.cs
- MemoryFailPoint.cs
- XPathNodePointer.cs
- ResourceProviderFactory.cs
- IPipelineRuntime.cs
- UnionExpr.cs
- Exceptions.cs
- DictionaryEditChange.cs
- CodeDesigner.cs
- securitycriticaldata.cs
- ServiceDescription.cs
- HtmlTable.cs
- RequestQueue.cs
- ObjectAnimationUsingKeyFrames.cs
- CodeTypeReference.cs
- TranslateTransform.cs
- KeyPressEvent.cs
- MouseGesture.cs
- ParserStreamGeometryContext.cs
- StylusCollection.cs
- FixedTextSelectionProcessor.cs
- ControlPropertyNameConverter.cs
- AssemblyBuilder.cs
- DebugHandleTracker.cs
- AnimationClockResource.cs
- XpsViewerException.cs
- While.cs
- X509RawDataKeyIdentifierClause.cs
- OutputCacheSettings.cs
- DictionaryChange.cs
- CharacterBuffer.cs
- DiscoveryVersion.cs
- DateTimeParse.cs
- ImageMapEventArgs.cs
- ListViewGroupConverter.cs
- DataSourceXmlSerializer.cs
- FixedSOMPageConstructor.cs
- HwndSource.cs
- KeyEvent.cs
- MetadataItem_Static.cs
- CustomAttribute.cs
- SettingsPropertyCollection.cs
- XmlCharCheckingReader.cs
- dataprotectionpermission.cs
- BasicViewGenerator.cs
- IdentityReference.cs
- PropertyMapper.cs
- StringExpressionSet.cs
- CharacterShapingProperties.cs
- PhysicalFontFamily.cs
- ProfileEventArgs.cs
- Exceptions.cs
- SizeChangedInfo.cs
- ContextMarshalException.cs
- FormsAuthenticationUser.cs
- MimeBasePart.cs
- DbTransaction.cs
- DiscoveryDocumentLinksPattern.cs
- View.cs
- AmbientLight.cs
- WindowsFormsHelpers.cs
- ApplicationProxyInternal.cs
- SqlParameter.cs
- MetabaseSettings.cs
- LocalizationComments.cs
- SoapTypeAttribute.cs
- ObjectListCommandEventArgs.cs
- DummyDataSource.cs
- PasswordTextContainer.cs
- BitmapEffectDrawingContent.cs
- Identifier.cs
- IndicFontClient.cs
- JsonByteArrayDataContract.cs
- ChannelEndpointElement.cs
- QuaternionKeyFrameCollection.cs
- RandomNumberGenerator.cs
- IndentedWriter.cs
- ErrorFormatterPage.cs
- ProxyWebPart.cs
- XmlSerializerFactory.cs
- objectresult_tresulttype.cs
- HtmlLabelAdapter.cs
- CustomExpression.cs
- EntityDataSourceContextCreatingEventArgs.cs
- BinarySerializer.cs
- SqlStatistics.cs
- PermissionRequestEvidence.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs
- NameSpaceExtractor.cs
- MdImport.cs