Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- EnterpriseServicesHelper.cs
- DependencyPropertyHelper.cs
- InstallHelper.cs
- HtmlInputCheckBox.cs
- FileUtil.cs
- WebPartActionVerb.cs
- BrowserTree.cs
- GroupAggregateExpr.cs
- ProcessStartInfo.cs
- XsltInput.cs
- HScrollBar.cs
- GestureRecognitionResult.cs
- DataGridViewBand.cs
- _LocalDataStore.cs
- AtomMaterializerLog.cs
- TypeSystem.cs
- RouteValueDictionary.cs
- XpsSerializerWriter.cs
- DataGridSortingEventArgs.cs
- Int32AnimationBase.cs
- FindCriteriaCD1.cs
- OracleDataAdapter.cs
- XmlSchemaComplexContentRestriction.cs
- RSACryptoServiceProvider.cs
- DllNotFoundException.cs
- RichTextBox.cs
- RegexCapture.cs
- SimpleHandlerFactory.cs
- GridViewSortEventArgs.cs
- X509CertificateChain.cs
- DataRowIndexBuffer.cs
- WindowsFormsHelpers.cs
- HostedController.cs
- AdCreatedEventArgs.cs
- NameValueCollection.cs
- SqlCacheDependencyDatabase.cs
- XmlTextReaderImplHelpers.cs
- SystemResourceHost.cs
- ColorConverter.cs
- ExpressionBinding.cs
- Message.cs
- ValidatedControlConverter.cs
- SamlAuthenticationStatement.cs
- SqlVisitor.cs
- SqlDataSourceCache.cs
- AsynchronousChannel.cs
- ThreadAttributes.cs
- ListViewItemMouseHoverEvent.cs
- _Connection.cs
- OracleDataAdapter.cs
- PackWebRequestFactory.cs
- RoleGroup.cs
- _AutoWebProxyScriptWrapper.cs
- EnumUnknown.cs
- recordstatefactory.cs
- ImageList.cs
- _IPv6Address.cs
- DataGridViewSelectedRowCollection.cs
- HtmlEncodedRawTextWriter.cs
- ConfigurationStrings.cs
- WebSysDefaultValueAttribute.cs
- WindowPattern.cs
- EntitySetBaseCollection.cs
- NameValueConfigurationCollection.cs
- XmlSchemaAny.cs
- MDIClient.cs
- ConfigXmlText.cs
- PageRequestManager.cs
- PathFigureCollection.cs
- __Error.cs
- CroppedBitmap.cs
- SchemaImporterExtensionElement.cs
- XsdDateTime.cs
- TextChangedEventArgs.cs
- XmlCDATASection.cs
- ModelTypeConverter.cs
- OdbcFactory.cs
- DNS.cs
- CapabilitiesPattern.cs
- XPathAncestorQuery.cs
- WebBaseEventKeyComparer.cs
- MouseButtonEventArgs.cs
- ToolStripTextBox.cs
- oledbconnectionstring.cs
- SchemaMerger.cs
- TextElementEnumerator.cs
- ErrorStyle.cs
- NetSectionGroup.cs
- CodeDefaultValueExpression.cs
- DataGridViewAccessibleObject.cs
- ImageMapEventArgs.cs
- InfoCardPolicy.cs
- SymmetricKeyWrap.cs
- ModelPropertyImpl.cs
- AdRotatorDesigner.cs
- ZipFileInfoCollection.cs
- HwndSource.cs
- ReturnEventArgs.cs
- PasswordRecoveryAutoFormat.cs
- TextBreakpoint.cs