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
- MediaTimeline.cs
- MetadataPropertyCollection.cs
- ImpersonateTokenRef.cs
- BamlReader.cs
- COMException.cs
- GroupByQueryOperator.cs
- SharedPersonalizationStateInfo.cs
- BoolExpression.cs
- RangeBase.cs
- DataViewSetting.cs
- CallbackTimeoutsElement.cs
- ObjectManager.cs
- TextSegment.cs
- PassportPrincipal.cs
- MenuItemBindingCollection.cs
- HttpBrowserCapabilitiesBase.cs
- HandleExceptionArgs.cs
- DataGridToolTip.cs
- FloatAverageAggregationOperator.cs
- LinkedList.cs
- CustomBindingElementCollection.cs
- RoutedEvent.cs
- SmiTypedGetterSetter.cs
- QueryOptionExpression.cs
- GeometryHitTestParameters.cs
- PolicyStatement.cs
- AllMembershipCondition.cs
- StringArrayConverter.cs
- DependencyPropertyChangedEventArgs.cs
- CreateUserWizardAutoFormat.cs
- DbgUtil.cs
- EdmFunctionAttribute.cs
- BuilderInfo.cs
- KeyConstraint.cs
- AvTrace.cs
- HtmlInputRadioButton.cs
- TypeLibraryHelper.cs
- ExtensionQuery.cs
- wmiprovider.cs
- ToolStripTemplateNode.cs
- ProfileSettings.cs
- NameValueCollection.cs
- UDPClient.cs
- ValidationManager.cs
- localization.cs
- TraceContextEventArgs.cs
- ColorPalette.cs
- CannotUnloadAppDomainException.cs
- Route.cs
- CharacterHit.cs
- EarlyBoundInfo.cs
- ConfigurationPermission.cs
- CodeTypeReferenceExpression.cs
- GroupQuery.cs
- StylusButton.cs
- FontInfo.cs
- ProfileService.cs
- ObfuscateAssemblyAttribute.cs
- GridPattern.cs
- PolygonHotSpot.cs
- MsmqElementBase.cs
- NamedObject.cs
- ReferencedAssemblyResolver.cs
- Int16Storage.cs
- _DisconnectOverlappedAsyncResult.cs
- ValueConversionAttribute.cs
- MaskedTextBox.cs
- DataServiceRequestArgs.cs
- EditorZone.cs
- SafeRightsManagementPubHandle.cs
- MessageDecoder.cs
- Geometry.cs
- HttpDictionary.cs
- StringKeyFrameCollection.cs
- DataControlFieldCell.cs
- PrinterUnitConvert.cs
- DecoderFallback.cs
- CapacityStreamGeometryContext.cs
- ForceCopyBuildProvider.cs
- ScrollProperties.cs
- SoapRpcServiceAttribute.cs
- XmlSerializationWriter.cs
- AssemblyAttributesGoHere.cs
- COSERVERINFO.cs
- CuspData.cs
- CorrelationScope.cs
- RightsManagementPermission.cs
- ProfileSection.cs
- TargetParameterCountException.cs
- SerializationHelper.cs
- EntityModelBuildProvider.cs
- EventMappingSettings.cs
- ComEventsSink.cs
- Calendar.cs
- ParenthesizePropertyNameAttribute.cs
- CollectionViewProxy.cs
- RegexTree.cs
- SqlTypeConverter.cs
- SwitchLevelAttribute.cs
- Propagator.JoinPropagator.JoinPredicateVisitor.cs