Code:
/ DotNET / DotNET / 8.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
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SplitContainerDesigner.cs
- NullableIntMinMaxAggregationOperator.cs
- TrackingProfileSerializer.cs
- OTFRasterizer.cs
- XmlAggregates.cs
- GeneratedCodeAttribute.cs
- RequestQueryParser.cs
- TextTreeTextBlock.cs
- EntityClassGenerator.cs
- SmtpLoginAuthenticationModule.cs
- OdbcDataReader.cs
- TreeChangeInfo.cs
- EditorZone.cs
- TypeElementCollection.cs
- ListViewItem.cs
- CompiledRegexRunnerFactory.cs
- Emitter.cs
- isolationinterop.cs
- ContentIterators.cs
- PropertyInfoSet.cs
- InternalCache.cs
- InfoCardSymmetricAlgorithm.cs
- MoveSizeWinEventHandler.cs
- TypeConverterValueSerializer.cs
- DockingAttribute.cs
- ECDiffieHellman.cs
- UnicodeEncoding.cs
- Privilege.cs
- TextServicesProperty.cs
- DbCommandDefinition.cs
- StrongName.cs
- AdRotator.cs
- CodePrimitiveExpression.cs
- SHA1Managed.cs
- ListenerElementsCollection.cs
- DataGridViewTextBoxEditingControl.cs
- RouteParameter.cs
- SchemaLookupTable.cs
- Int16Storage.cs
- CodeNamespaceImport.cs
- ADMembershipUser.cs
- FileClassifier.cs
- QueryStringParameter.cs
- TextTreeInsertElementUndoUnit.cs
- ListControlBoundActionList.cs
- PerformanceCounterPermissionEntry.cs
- PlatformNotSupportedException.cs
- TextEncodedRawTextWriter.cs
- COMException.cs
- ObjectCloneHelper.cs
- PrimitiveSchema.cs
- NameNode.cs
- HWStack.cs
- FieldDescriptor.cs
- GroupBox.cs
- ListItemsCollectionEditor.cs
- DataPointer.cs
- OracleString.cs
- XamlInt32CollectionSerializer.cs
- EventRouteFactory.cs
- DocumentReferenceCollection.cs
- BitmapEffectInput.cs
- RelationshipDetailsCollection.cs
- DataServiceQuery.cs
- ProcessInputEventArgs.cs
- QueryStringParameter.cs
- MetadataUtil.cs
- UiaCoreApi.cs
- RevocationPoint.cs
- _NTAuthentication.cs
- SQLBinary.cs
- Globals.cs
- ResourceBinder.cs
- DiagnosticTraceSchemas.cs
- DataGridLinkButton.cs
- CachedTypeface.cs
- InkCanvasSelectionAdorner.cs
- ConfigurationManagerHelper.cs
- XPathMultyIterator.cs
- CodeAttributeArgument.cs
- SerializationFieldInfo.cs
- CdpEqualityComparer.cs
- DataGridViewDataConnection.cs
- XmlSchemaComplexContentRestriction.cs
- TransformerTypeCollection.cs
- SourceChangedEventArgs.cs
- AutomationPatternInfo.cs
- ListView.cs
- RelationshipManager.cs
- DataKey.cs
- XmlUTF8TextReader.cs
- WebPartCatalogCloseVerb.cs
- ImageKeyConverter.cs
- SymLanguageType.cs
- MsmqMessage.cs
- XmlSiteMapProvider.cs
- UIHelper.cs
- Label.cs
- Missing.cs
- GeneralTransform3DTo2DTo3D.cs