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
- DetailsViewRow.cs
- XmlSchemaException.cs
- ProxyAttribute.cs
- TypeKeyValue.cs
- StrongName.cs
- GeometryConverter.cs
- WarningException.cs
- ContractReference.cs
- HelpInfo.cs
- SpeechSeg.cs
- TypeGeneratedEventArgs.cs
- Utils.cs
- TransformationRules.cs
- FilterEventArgs.cs
- ContractAdapter.cs
- ListChangedEventArgs.cs
- CreateUserWizard.cs
- MediaScriptCommandRoutedEventArgs.cs
- HtmlUtf8RawTextWriter.cs
- StylusButtonEventArgs.cs
- Char.cs
- MimeMapping.cs
- JapaneseLunisolarCalendar.cs
- TypefaceMetricsCache.cs
- ViewBase.cs
- HwndStylusInputProvider.cs
- Page.cs
- ReliableInputConnection.cs
- ToolStripItemRenderEventArgs.cs
- DataObjectMethodAttribute.cs
- WindowAutomationPeer.cs
- NativeMethods.cs
- BindingNavigator.cs
- BaseCAMarshaler.cs
- DiscardableAttribute.cs
- HtmlTableCell.cs
- NavigationPropertyAccessor.cs
- DataConnectionHelper.cs
- WebConfigurationManager.cs
- TextProperties.cs
- DecimalStorage.cs
- XamlFigureLengthSerializer.cs
- OdbcDataAdapter.cs
- Transform3D.cs
- OleStrCAMarshaler.cs
- WebPartTransformerAttribute.cs
- GorillaCodec.cs
- XmlSchemaRedefine.cs
- CDSCollectionETWBCLProvider.cs
- TreeViewCancelEvent.cs
- SettingsProperty.cs
- NodeLabelEditEvent.cs
- RectangleHotSpot.cs
- PersistChildrenAttribute.cs
- DelegatingTypeDescriptionProvider.cs
- HotCommands.cs
- SystemIPInterfaceProperties.cs
- _Win32.cs
- SecurityAccessDeniedException.cs
- CompilerLocalReference.cs
- SqlServer2KCompatibilityCheck.cs
- UnmanagedMemoryStream.cs
- RequestNavigateEventArgs.cs
- ServiceContractGenerationContext.cs
- SQLDoubleStorage.cs
- RoleGroupCollectionEditor.cs
- TemplateKeyConverter.cs
- TreeNodeStyleCollection.cs
- CompModSwitches.cs
- RectangleF.cs
- PropertyValueChangedEvent.cs
- MatrixCamera.cs
- HyperLinkStyle.cs
- DataSourceConverter.cs
- MenuItemStyle.cs
- BooleanExpr.cs
- GeometryConverter.cs
- ParagraphResult.cs
- FlowDocumentFormatter.cs
- XsdDuration.cs
- Asn1Utilities.cs
- ConstructorExpr.cs
- WindowsGraphics.cs
- WebEncodingValidatorAttribute.cs
- CollectionCodeDomSerializer.cs
- TextContainerChangedEventArgs.cs
- KnownTypeAttribute.cs
- HashSet.cs
- StrongNamePublicKeyBlob.cs
- XsltContext.cs
- XPathNodeList.cs
- querybuilder.cs
- TableLayoutPanelResizeGlyph.cs
- ByteConverter.cs
- ZoneIdentityPermission.cs
- DesignTimeVisibleAttribute.cs
- ITreeGenerator.cs
- SharedStatics.cs
- ComponentDesigner.cs
- DataGridHeaderBorder.cs