Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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() { } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ // // 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() { } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ErrorRuntimeConfig.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs
- TreeNodeConverter.cs
- XmlSignificantWhitespace.cs
- DebugHandleTracker.cs
- ProgressBarRenderer.cs
- BooleanFunctions.cs
- System.Data_BID.cs
- ScrollableControlDesigner.cs
- XmlQueryStaticData.cs
- ArrayElementGridEntry.cs
- ReadOnlyHierarchicalDataSourceView.cs
- LinkUtilities.cs
- NameScopePropertyAttribute.cs
- WebPartTransformerCollection.cs
- GenericWebPart.cs
- ProcessHostFactoryHelper.cs
- Slider.cs
- WebServiceHandlerFactory.cs
- DbProviderConfigurationHandler.cs
- StorageConditionPropertyMapping.cs
- UIElement.cs
- ViewStateModeByIdAttribute.cs
- TextSyndicationContentKindHelper.cs
- FixedTextBuilder.cs
- WebZone.cs
- ChangePassword.cs
- Console.cs
- FormClosingEvent.cs
- TdsParserStateObject.cs
- DelegatingHeader.cs
- CompensableActivity.cs
- PersonalizationStateInfo.cs
- WebServiceParameterData.cs
- IdentitySection.cs
- TimeSpanConverter.cs
- StaticDataManager.cs
- CellNormalizer.cs
- TemplatedMailWebEventProvider.cs
- TabletDeviceInfo.cs
- UserControl.cs
- SqlMethodTransformer.cs
- EastAsianLunisolarCalendar.cs
- WebPartUtil.cs
- ButtonBaseAutomationPeer.cs
- WebSysDefaultValueAttribute.cs
- Parser.cs
- EventTrigger.cs
- MessageQueuePermissionEntryCollection.cs
- SmtpFailedRecipientException.cs
- DataGridViewButtonCell.cs
- StylusButtonCollection.cs
- DropShadowEffect.cs
- TextBox.cs
- FactoryId.cs
- XPathException.cs
- XamlFilter.cs
- Screen.cs
- DataRowComparer.cs
- Transform3D.cs
- StoragePropertyMapping.cs
- ObjectKeyFrameCollection.cs
- TextPenaltyModule.cs
- CodeTypeReference.cs
- Mapping.cs
- ColorConvertedBitmapExtension.cs
- InvalidWMPVersionException.cs
- RepeaterItem.cs
- DebugInfoGenerator.cs
- VolatileResourceManager.cs
- XmlCountingReader.cs
- HttpCachePolicy.cs
- AssemblyInfo.cs
- AmbientValueAttribute.cs
- SqlConnectionPoolProviderInfo.cs
- TextWriterTraceListener.cs
- WebPartHelpVerb.cs
- DataGridSortCommandEventArgs.cs
- MetadataArtifactLoader.cs
- NativeMethods.cs
- KoreanLunisolarCalendar.cs
- OpacityConverter.cs
- BCryptNative.cs
- Buffer.cs
- PropertyOverridesDialog.cs
- Utility.cs
- FixedPage.cs
- _AcceptOverlappedAsyncResult.cs
- Configuration.cs
- SQLDecimal.cs
- SR.cs
- Matrix3DStack.cs
- ListItemCollection.cs
- SHA512Managed.cs
- SolidColorBrush.cs
- URLString.cs
- HttpServerVarsCollection.cs
- QueryableDataSourceHelper.cs
- KeyInterop.cs
- ControlCachePolicy.cs