Code:
/ DotNET / DotNET / 8.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
- NTAccount.cs
- assemblycache.cs
- UIElementHelper.cs
- XamlRtfConverter.cs
- MetadataException.cs
- DataBoundControl.cs
- SafeReadContext.cs
- ClientRolePrincipal.cs
- ByeOperation11AsyncResult.cs
- TreeViewItem.cs
- DataGridViewCellMouseEventArgs.cs
- ListViewDataItem.cs
- ConfigurationCollectionAttribute.cs
- EditorZoneBase.cs
- CurrentChangedEventManager.cs
- EntityDataSourceSelectingEventArgs.cs
- WebHttpDispatchOperationSelectorData.cs
- PrivateFontCollection.cs
- IsolatedStorageException.cs
- WmlLiteralTextAdapter.cs
- FixedSOMImage.cs
- SqlLiftWhereClauses.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- StateItem.cs
- ErrorProvider.cs
- HttpListenerRequest.cs
- Encoding.cs
- TimeSpanSecondsConverter.cs
- SymLanguageType.cs
- HGlobalSafeHandle.cs
- ItemsPresenter.cs
- CodeGenHelper.cs
- EventProviderWriter.cs
- UriExt.cs
- SplitterEvent.cs
- Attributes.cs
- AppLevelCompilationSectionCache.cs
- odbcmetadatacollectionnames.cs
- XmlSchemaValidationException.cs
- BinaryReader.cs
- DataChangedEventManager.cs
- ControlBuilderAttribute.cs
- NativeMethods.cs
- SqlResolver.cs
- EffectiveValueEntry.cs
- DesignerLoader.cs
- Mappings.cs
- DnsElement.cs
- ObjectDataSourceMethodEventArgs.cs
- ValueTable.cs
- DoubleLink.cs
- DataGridCaption.cs
- TextBoxView.cs
- FixedTextContainer.cs
- TextureBrush.cs
- SchemaEntity.cs
- ProfileSettings.cs
- ALinqExpressionVisitor.cs
- PartitionedStream.cs
- ListViewItem.cs
- MimeReflector.cs
- PersonalizablePropertyEntry.cs
- QuaternionAnimation.cs
- CompressEmulationStream.cs
- CategoriesDocument.cs
- TrackingMemoryStream.cs
- SmiEventSink_Default.cs
- SocketException.cs
- RuntimeArgumentHandle.cs
- StructuredTypeEmitter.cs
- AsymmetricSignatureDeformatter.cs
- Task.cs
- AppDomainAttributes.cs
- VoiceSynthesis.cs
- DataGridTextBoxColumn.cs
- UniqueIdentifierService.cs
- PlacementWorkspace.cs
- RangeContentEnumerator.cs
- EdmComplexPropertyAttribute.cs
- TextTreeTextBlock.cs
- MobileCapabilities.cs
- FontSizeConverter.cs
- BindingListCollectionView.cs
- GrammarBuilder.cs
- SrgsDocumentParser.cs
- ParameterToken.cs
- TextRenderer.cs
- NativeMethods.cs
- AnonymousIdentificationModule.cs
- StatusInfoItem.cs
- WebEventCodes.cs
- AppModelKnownContentFactory.cs
- TrailingSpaceComparer.cs
- TextContainerHelper.cs
- SqlProviderManifest.cs
- ProcessHostConfigUtils.cs
- GridSplitterAutomationPeer.cs
- ExecutedRoutedEventArgs.cs
- EntityDesignerDataSourceView.cs
- Size3D.cs