Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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() { } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ // // 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() { } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- CultureInfoConverter.cs
- ModifiableIteratorCollection.cs
- ClientTargetCollection.cs
- ImplicitInputBrush.cs
- TransformerTypeCollection.cs
- TableHeaderCell.cs
- ToolStripMenuItemCodeDomSerializer.cs
- DataGridViewColumnEventArgs.cs
- latinshape.cs
- PackageFilter.cs
- CalendarDay.cs
- OdbcConnectionOpen.cs
- DispatcherFrame.cs
- DeadCharTextComposition.cs
- XmlComplianceUtil.cs
- BinaryWriter.cs
- SHA1Cng.cs
- ThumbAutomationPeer.cs
- LocalizabilityAttribute.cs
- WindowsEditBox.cs
- ConfigurationStrings.cs
- ThicknessAnimationBase.cs
- entityreference_tresulttype.cs
- GradientBrush.cs
- XmlSchemaException.cs
- DataGridViewMethods.cs
- DataComponentNameHandler.cs
- EventDescriptorCollection.cs
- DBSchemaRow.cs
- NamedElement.cs
- EditorZoneDesigner.cs
- TypeHelpers.cs
- HttpCapabilitiesEvaluator.cs
- CodeVariableReferenceExpression.cs
- XPathNodeIterator.cs
- Setter.cs
- BoundPropertyEntry.cs
- DrawingContextDrawingContextWalker.cs
- EntityContainerEntitySetDefiningQuery.cs
- VerificationAttribute.cs
- XmlKeywords.cs
- UniformGrid.cs
- ScaleTransform3D.cs
- ProgressBarHighlightConverter.cs
- DbDataReader.cs
- SspiWrapper.cs
- ObjectConverter.cs
- ImageCodecInfoPrivate.cs
- JsonMessageEncoderFactory.cs
- SimpleLine.cs
- PropertyChangedEventArgs.cs
- WizardStepBase.cs
- Zone.cs
- ThreadExceptionDialog.cs
- LZCodec.cs
- BinaryObjectReader.cs
- DTCTransactionManager.cs
- SectionVisual.cs
- ShapeTypeface.cs
- RotateTransform.cs
- Regex.cs
- MemoryPressure.cs
- MemberInfoSerializationHolder.cs
- XmlChildNodes.cs
- WebBrowserUriTypeConverter.cs
- AuthenticationException.cs
- activationcontext.cs
- ToReply.cs
- DocumentViewerBase.cs
- TextInfo.cs
- SHA256.cs
- XmlNamespaceMappingCollection.cs
- CompoundFileStorageReference.cs
- VSWCFServiceContractGenerator.cs
- SupportsPreviewControlAttribute.cs
- ExpressionLink.cs
- glyphs.cs
- PageThemeCodeDomTreeGenerator.cs
- ListBindableAttribute.cs
- Scene3D.cs
- LocatorManager.cs
- UserUseLicenseDictionaryLoader.cs
- SqlTrackingService.cs
- TreeViewItem.cs
- FlowLayoutPanelDesigner.cs
- CodeCommentStatement.cs
- DataBoundControl.cs
- UpdatePanelControlTrigger.cs
- DoubleCollectionValueSerializer.cs
- XmlSchemaExternal.cs
- SerializerWriterEventHandlers.cs
- AttributeCollection.cs
- TokenCreationException.cs
- MimeObjectFactory.cs
- DbMetaDataColumnNames.cs
- Resources.Designer.cs
- DocumentScope.cs
- MultiplexingDispatchMessageFormatter.cs
- OptimizedTemplateContentHelper.cs
- LocalBuilder.cs