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
- SerializationInfoEnumerator.cs
- SpecialNameAttribute.cs
- XmlHierarchyData.cs
- TypefaceMap.cs
- RouteValueDictionary.cs
- XmlSchemaAttribute.cs
- DataServiceResponse.cs
- AuthorizationSection.cs
- SqlDataSourceStatusEventArgs.cs
- StringArrayEditor.cs
- GridViewUpdatedEventArgs.cs
- SharedPersonalizationStateInfo.cs
- NetworkStream.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- TextBox.cs
- ConfigurationCollectionAttribute.cs
- IListConverters.cs
- ScriptControlManager.cs
- PrintController.cs
- TrailingSpaceComparer.cs
- SendActivity.cs
- LinkClickEvent.cs
- TreeView.cs
- TransportChannelFactory.cs
- ProtectedConfiguration.cs
- FieldNameLookup.cs
- CodeVariableDeclarationStatement.cs
- DataTableClearEvent.cs
- AuthorizationRuleCollection.cs
- DateTimeFormatInfo.cs
- ConsoleKeyInfo.cs
- BitmapEffectInput.cs
- SqlNotificationEventArgs.cs
- ContractTypeNameElement.cs
- MemberHolder.cs
- MappingItemCollection.cs
- HwndSubclass.cs
- ParameterCollectionEditor.cs
- Translator.cs
- FormViewUpdatedEventArgs.cs
- WebServiceAttribute.cs
- SystemIPInterfaceProperties.cs
- DataGridViewColumnConverter.cs
- TraceHandlerErrorFormatter.cs
- PermissionSetEnumerator.cs
- StrongNameUtility.cs
- DesignerHelpers.cs
- XmlText.cs
- TableItemProviderWrapper.cs
- StylusDownEventArgs.cs
- ColumnHeader.cs
- ScrollPatternIdentifiers.cs
- Mapping.cs
- KeyGestureConverter.cs
- TextModifier.cs
- ReadWriteObjectLock.cs
- ConstraintManager.cs
- RegisteredArrayDeclaration.cs
- ImageConverter.cs
- WebColorConverter.cs
- DatePickerAutomationPeer.cs
- TcpConnectionPoolSettings.cs
- AlternateView.cs
- _WebProxyDataBuilder.cs
- ContentIterators.cs
- XpsResourceDictionary.cs
- UnsafeNativeMethodsCLR.cs
- WebPartEventArgs.cs
- CommandSet.cs
- MenuItemStyle.cs
- KnowledgeBase.cs
- Int16.cs
- TypePropertyEditor.cs
- ClientConfigurationSystem.cs
- DefaultEventAttribute.cs
- DataComponentNameHandler.cs
- NetworkCredential.cs
- GridViewColumnHeader.cs
- FormViewDeleteEventArgs.cs
- AspProxy.cs
- PathFigure.cs
- ParseNumbers.cs
- PasswordTextNavigator.cs
- GroupQuery.cs
- HttpHandlerAction.cs
- XpsImage.cs
- MenuCommandsChangedEventArgs.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- DocumentOrderComparer.cs
- NewItemsContextMenuStrip.cs
- HitTestResult.cs
- ParameterToken.cs
- CatalogZoneBase.cs
- BitmapEffectInput.cs
- DecoderFallbackWithFailureFlag.cs
- ResourceDisplayNameAttribute.cs
- CallInfo.cs
- ValidationResult.cs
- ObjectItemCollection.cs
- Substitution.cs