Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Services / Monitoring / system / Diagnosticts / PerformanceCounterManager.cs / 1305376 / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- WpfMemberInvoker.cs
- ForceCopyBuildProvider.cs
- _ContextAwareResult.cs
- EventKeyword.cs
- SuppressMergeCheckAttribute.cs
- wgx_commands.cs
- SecurityCriticalDataForSet.cs
- MergePropertyDescriptor.cs
- GetImportedCardRequest.cs
- FloatAverageAggregationOperator.cs
- BufferedGraphicsManager.cs
- HtmlShim.cs
- SqlDataSourceCache.cs
- UnsettableComboBox.cs
- XmlSchemaObject.cs
- CatalogZoneAutoFormat.cs
- NetworkInformationPermission.cs
- dsa.cs
- WsatServiceAddress.cs
- ExpressionLexer.cs
- MobileComponentEditorPage.cs
- CheckBoxAutomationPeer.cs
- NavigationWindowAutomationPeer.cs
- XXXInfos.cs
- TypeUnloadedException.cs
- Privilege.cs
- CaseStatementSlot.cs
- XmlSchemaAll.cs
- validation.cs
- VirtualizedItemProviderWrapper.cs
- SystemIPInterfaceProperties.cs
- _DisconnectOverlappedAsyncResult.cs
- ISessionStateStore.cs
- GradientStop.cs
- WebPartManager.cs
- DataTablePropertyDescriptor.cs
- CodeDOMProvider.cs
- DrawingAttributes.cs
- BitmapCacheBrush.cs
- ControlPaint.cs
- basemetadatamappingvisitor.cs
- RestClientProxyHandler.cs
- TableLayoutStyle.cs
- InternalResources.cs
- MarginsConverter.cs
- DataGridHeaderBorder.cs
- TemplateColumn.cs
- LinearQuaternionKeyFrame.cs
- LocationSectionRecord.cs
- ToolStripDropDown.cs
- SHA512Managed.cs
- HttpValueCollection.cs
- CurrentTimeZone.cs
- HitTestFilterBehavior.cs
- ObjectNavigationPropertyMapping.cs
- UserControl.cs
- OdbcError.cs
- CodeAssignStatement.cs
- NavigationService.cs
- IntPtr.cs
- WebPartEventArgs.cs
- NativeMethods.cs
- MetadataCache.cs
- Effect.cs
- TraceUtility.cs
- TrackingMemoryStreamFactory.cs
- SmtpTransport.cs
- EditorPart.cs
- Transform3DCollection.cs
- DesignerVerbCollection.cs
- BitmapEffectvisualstate.cs
- TextSerializer.cs
- ControlOperationBehavior.cs
- TrackPoint.cs
- Debug.cs
- SystemUdpStatistics.cs
- Accessible.cs
- Blend.cs
- JournalEntry.cs
- ScriptMethodAttribute.cs
- Point.cs
- MinimizableAttributeTypeConverter.cs
- XmlSchemaComplexContent.cs
- ContentHostHelper.cs
- SQLString.cs
- SkipQueryOptionExpression.cs
- FieldNameLookup.cs
- Drawing.cs
- SecurityUtils.cs
- List.cs
- ToolStripComboBox.cs
- Thread.cs
- WebPartCatalogCloseVerb.cs
- MouseEvent.cs
- CommandValueSerializer.cs
- DataGridViewTopRowAccessibleObject.cs
- FunctionDetailsReader.cs
- AddIn.cs
- TrayIconDesigner.cs
- DataTemplate.cs