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
- BamlLocalizationDictionary.cs
- TablePattern.cs
- UpdateRecord.cs
- HtmlTextArea.cs
- WebMessageEncodingBindingElement.cs
- Behavior.cs
- OdbcConnectionOpen.cs
- storepermissionattribute.cs
- SymbolDocumentGenerator.cs
- SingleObjectCollection.cs
- HttpProfileGroupBase.cs
- WorkflowDesignerMessageFilter.cs
- OutputCache.cs
- RNGCryptoServiceProvider.cs
- ClientFormsIdentity.cs
- EntityDataSourceContainerNameConverter.cs
- OracleCommandSet.cs
- BigInt.cs
- RegionInfo.cs
- RewritingValidator.cs
- ProfileSection.cs
- HttpRawResponse.cs
- WorkBatch.cs
- Margins.cs
- RangeValueProviderWrapper.cs
- Contracts.cs
- COAUTHIDENTITY.cs
- SettingsSavedEventArgs.cs
- BaseInfoTable.cs
- TextElementEnumerator.cs
- InProcStateClientManager.cs
- ToolStripComboBox.cs
- PointCollection.cs
- DispatcherHooks.cs
- AdPostCacheSubstitution.cs
- SystemSounds.cs
- ArraySortHelper.cs
- X509CertificateInitiatorClientCredential.cs
- XmlKeywords.cs
- RightsManagementEncryptionTransform.cs
- _OSSOCK.cs
- cookie.cs
- StylusButtonCollection.cs
- WindowsListViewItemStartMenu.cs
- NavigatorOutput.cs
- storepermissionattribute.cs
- Int64Animation.cs
- DynamicArgumentDesigner.xaml.cs
- DBConnectionString.cs
- DataGridViewTopRowAccessibleObject.cs
- Faults.cs
- ProfilePropertyNameValidator.cs
- TextParagraphView.cs
- ReflectionHelper.cs
- CharUnicodeInfo.cs
- Facet.cs
- SettingsContext.cs
- AdornerPresentationContext.cs
- ExpressionEditorAttribute.cs
- VersionConverter.cs
- AttributeQuery.cs
- ForceCopyBuildProvider.cs
- InstanceKeyCollisionException.cs
- SettingsSavedEventArgs.cs
- ApplicationServicesHostFactory.cs
- URLAttribute.cs
- SqlGatherConsumedAliases.cs
- CompoundFileReference.cs
- IndentTextWriter.cs
- ProviderUtil.cs
- ActivityDesignerAccessibleObject.cs
- TablePattern.cs
- HostingMessageProperty.cs
- OdbcHandle.cs
- ParameterCollection.cs
- GlyphInfoList.cs
- ItemMap.cs
- HTTP_SERVICE_CONFIG_URLACL_KEY.cs
- SqlNodeTypeOperators.cs
- ShadowGlyph.cs
- ExpressionBindingCollection.cs
- DataGridViewLinkColumn.cs
- FileLoadException.cs
- MailHeaderInfo.cs
- InputEventArgs.cs
- FusionWrap.cs
- PeerObject.cs
- FunctionDescription.cs
- CompensatableTransactionScopeActivityDesigner.cs
- DigitShape.cs
- UserControl.cs
- CmsUtils.cs
- WebHttpSecurityElement.cs
- EntitySetRetriever.cs
- Parser.cs
- StorageRoot.cs
- SpellerInterop.cs
- AssemblyCache.cs
- OutputCacheSettings.cs
- FixedHighlight.cs