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
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- HexParser.cs
- ImageCodecInfoPrivate.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- validationstate.cs
- DuplexClientBase.cs
- AuthenticationService.cs
- ParameterInfo.cs
- RuleRefElement.cs
- PointCollection.cs
- XmlILModule.cs
- HostingEnvironment.cs
- XamlGridLengthSerializer.cs
- FillErrorEventArgs.cs
- DrawListViewItemEventArgs.cs
- ProcessDesigner.cs
- TextRunCache.cs
- EntityUtil.cs
- AddingNewEventArgs.cs
- MenuItem.cs
- InvalidPrinterException.cs
- State.cs
- ConfigurationConverterBase.cs
- DateBoldEvent.cs
- HttpMethodAttribute.cs
- RangeValidator.cs
- XamlParser.cs
- ComponentResourceKey.cs
- DelegateTypeInfo.cs
- GetChildSubtree.cs
- ProfileEventArgs.cs
- MasterPageParser.cs
- FormsAuthenticationCredentials.cs
- HostedImpersonationContext.cs
- SQLGuid.cs
- TokenBasedSet.cs
- GenericAuthenticationEventArgs.cs
- TextEditorMouse.cs
- CompoundFileReference.cs
- GridViewUpdatedEventArgs.cs
- ProfileManager.cs
- HashAlgorithm.cs
- ResourceManager.cs
- PipelineModuleStepContainer.cs
- XPathNodeInfoAtom.cs
- MsmqIntegrationInputMessage.cs
- CodeMethodReturnStatement.cs
- MessageDecoder.cs
- Char.cs
- ILGenerator.cs
- MSAANativeProvider.cs
- OfTypeExpression.cs
- NamedObjectList.cs
- EntityParameterCollection.cs
- FormDocumentDesigner.cs
- UnsafeNativeMethodsMilCoreApi.cs
- WinFormsSecurity.cs
- SEHException.cs
- WbmpConverter.cs
- Bits.cs
- Errors.cs
- PaginationProgressEventArgs.cs
- SecurityTokenSerializer.cs
- xmlglyphRunInfo.cs
- QueryResponse.cs
- WhitespaceRule.cs
- PageAsyncTaskManager.cs
- indexingfiltermarshaler.cs
- CheckBox.cs
- XsltOutput.cs
- InstanceOwnerException.cs
- HostingEnvironmentSection.cs
- DrawingDrawingContext.cs
- SystemThemeKey.cs
- PolyBezierSegment.cs
- DropSource.cs
- ItemsPresenter.cs
- CacheChildrenQuery.cs
- DataControlFieldCollection.cs
- RewritingValidator.cs
- Throw.cs
- SystemPens.cs
- PathBox.cs
- GridViewSortEventArgs.cs
- PersonalizationAdministration.cs
- RpcCryptoContext.cs
- TrustSection.cs
- ServiceReference.cs
- InfoCardBaseException.cs
- WebExceptionStatus.cs
- xsdvalidator.cs
- Cursors.cs
- HttpModuleCollection.cs
- LineMetrics.cs
- XmlComment.cs
- BasicExpressionVisitor.cs
- MissingManifestResourceException.cs
- MetadataImporterQuotas.cs
- BindingMemberInfo.cs
- DataGridLinkButton.cs
- BinaryNode.cs