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
- SimpleRecyclingCache.cs
- CFStream.cs
- DesignerDataTable.cs
- FrugalList.cs
- SqlNodeAnnotations.cs
- AsyncOperationContext.cs
- ZipPackage.cs
- SiteMapDataSource.cs
- TCPClient.cs
- XmlSchemaExporter.cs
- OrCondition.cs
- COM2ColorConverter.cs
- MouseDevice.cs
- DataServices.cs
- SizeChangedInfo.cs
- RectKeyFrameCollection.cs
- SqlTriggerContext.cs
- PaintEvent.cs
- StickyNote.cs
- Zone.cs
- EmptyQuery.cs
- CharConverter.cs
- X509ServiceCertificateAuthenticationElement.cs
- PropertyItemInternal.cs
- TaskForm.cs
- Int64AnimationBase.cs
- Msmq3PoisonHandler.cs
- XmlSchemaProviderAttribute.cs
- DomainUpDown.cs
- FixedSOMPageConstructor.cs
- Grid.cs
- SamlConstants.cs
- TemplateBuilder.cs
- ObjectDataSourceSelectingEventArgs.cs
- ToolStripItemGlyph.cs
- RoutedEvent.cs
- HttpChannelHelpers.cs
- CodeSubDirectory.cs
- SqlCacheDependencySection.cs
- WebServiceHostFactory.cs
- RSAProtectedConfigurationProvider.cs
- TargetControlTypeAttribute.cs
- ZipIOLocalFileDataDescriptor.cs
- XPathException.cs
- SortedSet.cs
- ImageConverter.cs
- Int32KeyFrameCollection.cs
- ZipIOModeEnforcingStream.cs
- WindowInteropHelper.cs
- CTreeGenerator.cs
- DispatcherExceptionEventArgs.cs
- TemplateModeChangedEventArgs.cs
- Merger.cs
- AccessDataSource.cs
- WorkflowDefinitionDispenser.cs
- ObjectIDGenerator.cs
- ExtensionFile.cs
- ParallelEnumerableWrapper.cs
- Script.cs
- SafeRightsManagementEnvironmentHandle.cs
- XamlFrame.cs
- WindowsBrush.cs
- ComponentCollection.cs
- VolatileEnlistmentState.cs
- BinaryObjectInfo.cs
- MessageBox.cs
- ProfileManager.cs
- BitmapEffectInput.cs
- ProfileModule.cs
- TemplateBuilder.cs
- ProxyHwnd.cs
- PropertyDescriptorCollection.cs
- Composition.cs
- DecimalAnimation.cs
- CorePropertiesFilter.cs
- Privilege.cs
- CaseInsensitiveHashCodeProvider.cs
- ClientConfigurationHost.cs
- EtwTrace.cs
- TransportReplyChannelAcceptor.cs
- Translator.cs
- TextTreePropertyUndoUnit.cs
- EllipseGeometry.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- ReadOnlyDictionary.cs
- Memoizer.cs
- UnsafeNativeMethods.cs
- DataGridHeaderBorder.cs
- SerializationException.cs
- InkCanvasSelectionAdorner.cs
- SamlNameIdentifierClaimResource.cs
- FusionWrap.cs
- SafeNativeMethodsCLR.cs
- M3DUtil.cs
- SecurityTokenResolver.cs
- Authorization.cs
- WinFormsUtils.cs
- PackUriHelper.cs
- EventListener.cs
- AuthenticationSection.cs