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
- Solver.cs
- XmlILTrace.cs
- AttributeExtensions.cs
- SequenceDesigner.cs
- CacheRequest.cs
- UserControlAutomationPeer.cs
- Types.cs
- OracleRowUpdatedEventArgs.cs
- RowUpdatedEventArgs.cs
- Point.cs
- WindowsGraphics2.cs
- ReadOnlyDictionary.cs
- RegistrySecurity.cs
- ContentPropertyAttribute.cs
- SchemaCollectionPreprocessor.cs
- CodeSnippetTypeMember.cs
- NameObjectCollectionBase.cs
- TransactionTraceIdentifier.cs
- UIElementAutomationPeer.cs
- ScrollProperties.cs
- XmlEntity.cs
- EventPropertyMap.cs
- ButtonRenderer.cs
- RenderData.cs
- SubstitutionList.cs
- RecordConverter.cs
- SpotLight.cs
- NonClientArea.cs
- SerializerWriterEventHandlers.cs
- CompilationSection.cs
- SamlConditions.cs
- OdbcDataAdapter.cs
- DocumentPageViewAutomationPeer.cs
- BypassElement.cs
- CornerRadius.cs
- ConsumerConnectionPointCollection.cs
- ProcessThreadCollection.cs
- CodeAttributeArgument.cs
- COM2PropertyDescriptor.cs
- WebPartUserCapability.cs
- assertwrapper.cs
- _CookieModule.cs
- NativeMethods.cs
- ButtonBaseDesigner.cs
- Storyboard.cs
- FragmentQueryKB.cs
- TabControlAutomationPeer.cs
- GlyphTypeface.cs
- EventMap.cs
- FloatUtil.cs
- ValuePattern.cs
- DataGridTextColumn.cs
- CompositeCollection.cs
- UnknownWrapper.cs
- SessionStateUtil.cs
- TextServicesDisplayAttribute.cs
- DeploymentSection.cs
- Point4DConverter.cs
- EncoderReplacementFallback.cs
- SqlConnection.cs
- InputLanguageCollection.cs
- RectIndependentAnimationStorage.cs
- GeneralTransform3DCollection.cs
- EditorOptionAttribute.cs
- DataGridView.cs
- TimerElapsedEvenArgs.cs
- ComboBoxAutomationPeer.cs
- DataTable.cs
- ToolStripDropDown.cs
- DataControlFieldCollection.cs
- CompressionTransform.cs
- RewritingProcessor.cs
- CharStorage.cs
- IgnoreFileBuildProvider.cs
- _UriSyntax.cs
- DesignerMetadata.cs
- PropertyGridEditorPart.cs
- Button.cs
- Span.cs
- InputLanguageSource.cs
- TextUtf8RawTextWriter.cs
- CodePrimitiveExpression.cs
- ArgumentDesigner.xaml.cs
- MenuItemAutomationPeer.cs
- xsdvalidator.cs
- Decoder.cs
- DefaultCommandExtensionCallback.cs
- Compress.cs
- SqlParameterCollection.cs
- _ProxyChain.cs
- SendMessageChannelCache.cs
- TripleDES.cs
- WebPartConnectVerb.cs
- HtmlTernaryTree.cs
- ConnectorEditor.cs
- HwndSourceParameters.cs
- ResourcesChangeInfo.cs
- WebPartManagerInternals.cs
- GeneralTransform3DGroup.cs
- BufferedGraphics.cs