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
- ClientProxyGenerator.cs
- PackageProperties.cs
- RadialGradientBrush.cs
- PlaceHolder.cs
- UnsafeNativeMethods.cs
- ExpressionVisitor.cs
- RandomNumberGenerator.cs
- FileDialogPermission.cs
- HelpEvent.cs
- FormViewModeEventArgs.cs
- Parser.cs
- SecurityTokenProvider.cs
- DataTableTypeConverter.cs
- MediaTimeline.cs
- ImageIndexEditor.cs
- RootBrowserWindowProxy.cs
- CharacterString.cs
- TextViewSelectionProcessor.cs
- InvalidateEvent.cs
- TreeViewHitTestInfo.cs
- ShapeTypeface.cs
- SafeCryptContextHandle.cs
- XmlNodeReader.cs
- BooleanConverter.cs
- ManifestResourceInfo.cs
- IsolatedStorageException.cs
- EncoderReplacementFallback.cs
- WebPartEditVerb.cs
- AppDomainProtocolHandler.cs
- TextViewBase.cs
- CodeGen.cs
- ColorBlend.cs
- TreeNode.cs
- UserValidatedEventArgs.cs
- DispatcherExceptionEventArgs.cs
- ScrollProperties.cs
- SHA1Managed.cs
- PartialClassGenerationTask.cs
- MetadataExchangeBindings.cs
- Point3D.cs
- AxWrapperGen.cs
- XmlSchemaAnnotated.cs
- VerificationException.cs
- ToolStripButton.cs
- RemotingException.cs
- TextPenaltyModule.cs
- WaitHandleCannotBeOpenedException.cs
- DataSetUtil.cs
- PageBuildProvider.cs
- ASCIIEncoding.cs
- ApplicationServiceManager.cs
- Scene3D.cs
- ScriptingRoleServiceSection.cs
- IncrementalHitTester.cs
- TextEffect.cs
- TableLayoutPanel.cs
- AnnotationStore.cs
- LineServicesCallbacks.cs
- LineProperties.cs
- BinaryConverter.cs
- DataGridViewCellFormattingEventArgs.cs
- CodePageEncoding.cs
- InheritanceAttribute.cs
- CacheHelper.cs
- CombinedGeometry.cs
- MultiView.cs
- Accessible.cs
- GPPOINT.cs
- RTLAwareMessageBox.cs
- ApplicationInfo.cs
- XmlSchemaObjectTable.cs
- AsyncSerializedWorker.cs
- ListViewItemEventArgs.cs
- DynamicVirtualDiscoSearcher.cs
- CookieHandler.cs
- ActiveXSite.cs
- XmlSchemaInclude.cs
- ToolboxItem.cs
- DataServiceStreamResponse.cs
- ScriptReferenceBase.cs
- _OverlappedAsyncResult.cs
- BitConverter.cs
- RegexParser.cs
- ClientConfigPaths.cs
- datacache.cs
- HtmlInputPassword.cs
- FormsAuthenticationCredentials.cs
- CallContext.cs
- HttpWebRequest.cs
- NativeMethods.cs
- Command.cs
- BitmapPalettes.cs
- InternalTransaction.cs
- CompilerScope.Storage.cs
- MediaTimeline.cs
- FeatureAttribute.cs
- SqlLiftWhereClauses.cs
- AssemblyGen.cs
- ValidationErrorEventArgs.cs
- MetabaseReader.cs