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
- HttpConfigurationSystem.cs
- DynamicPropertyReader.cs
- DocumentViewerAutomationPeer.cs
- DataGridViewCell.cs
- UriExt.cs
- FunctionCommandText.cs
- CfgParser.cs
- PropertyTabChangedEvent.cs
- FormViewDeleteEventArgs.cs
- DrawingAttributeSerializer.cs
- ProviderConnectionPoint.cs
- XamlGridLengthSerializer.cs
- ListItemParagraph.cs
- UniqueIdentifierService.cs
- ContextTokenTypeConverter.cs
- SoapCodeExporter.cs
- Dictionary.cs
- PKCS1MaskGenerationMethod.cs
- TwoPhaseCommitProxy.cs
- CodeDesigner.cs
- Int32EqualityComparer.cs
- FlowPanelDesigner.cs
- DataColumnMapping.cs
- ITreeGenerator.cs
- AccessDataSource.cs
- DispatcherOperation.cs
- CommandHelper.cs
- SQLGuidStorage.cs
- PaperSource.cs
- MtomMessageEncodingElement.cs
- MatrixTransform3D.cs
- FixedSOMImage.cs
- UpdatePanel.cs
- HttpListener.cs
- XmlQueryRuntime.cs
- LocalizedNameDescriptionPair.cs
- FileChangeNotifier.cs
- TextOnlyOutput.cs
- GifBitmapEncoder.cs
- ResourceReader.cs
- InputMethodStateTypeInfo.cs
- AssociationEndMember.cs
- ToolStripInSituService.cs
- UnknownBitmapDecoder.cs
- SelectionPatternIdentifiers.cs
- XPathDocument.cs
- MimeMultiPart.cs
- ParallelDesigner.cs
- OracleTimeSpan.cs
- BoundPropertyEntry.cs
- StorageEndPropertyMapping.cs
- SoapInteropTypes.cs
- CodeExpressionStatement.cs
- CounterCreationData.cs
- MessageHeaderDescription.cs
- CompiledAction.cs
- MulticastIPAddressInformationCollection.cs
- ReadWriteSpinLock.cs
- MemoryMappedViewStream.cs
- Sentence.cs
- WebContentFormatHelper.cs
- PrintDialogDesigner.cs
- SubtreeProcessor.cs
- ProfessionalColorTable.cs
- WasEndpointConfigContainer.cs
- CacheRequest.cs
- XmlDocumentType.cs
- DBConnectionString.cs
- EventLogPermissionAttribute.cs
- BuildProvider.cs
- ConstrainedDataObject.cs
- Part.cs
- BitmapEffectDrawing.cs
- InputDevice.cs
- SatelliteContractVersionAttribute.cs
- codemethodreferenceexpression.cs
- EntityParameterCollection.cs
- ItemCollection.cs
- InternalConfigSettingsFactory.cs
- Point3DAnimationBase.cs
- TrackingWorkflowEventArgs.cs
- MetadataArtifactLoaderFile.cs
- DataGridViewIntLinkedList.cs
- MultiplexingFormatMapping.cs
- DLinqColumnProvider.cs
- EmptyEnumerator.cs
- WinInetCache.cs
- SingleAnimation.cs
- SHA512Managed.cs
- TransformGroup.cs
- KnownTypeHelper.cs
- XmlSchemaImporter.cs
- PointCollectionConverter.cs
- CertificateManager.cs
- ParameterBuilder.cs
- SiteMapDataSourceView.cs
- DetailsView.cs
- RemoteWebConfigurationHostStream.cs
- HttpResponse.cs
- ChildDocumentBlock.cs