Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Services / Monitoring / system / Diagnosticts / PerformanceCounterManager.cs / 1305376 / 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
- DictionaryEntry.cs
- ConstantCheck.cs
- FileDialog.cs
- X509Extension.cs
- EditorOptionAttribute.cs
- HttpHandlerAction.cs
- StorageEntitySetMapping.cs
- XmlName.cs
- EntityDataSourceDataSelectionPanel.cs
- SoapException.cs
- AncestorChangedEventArgs.cs
- GradientBrush.cs
- SymLanguageVendor.cs
- DependencyPropertyKind.cs
- StreamGeometry.cs
- SchemaTypeEmitter.cs
- ObjectReferenceStack.cs
- SpecialFolderEnumConverter.cs
- ProgramNode.cs
- AnnotationDocumentPaginator.cs
- SystemDiagnosticsSection.cs
- MenuTracker.cs
- DataGridViewComboBoxCell.cs
- SizeFConverter.cs
- SelectionProcessor.cs
- LocalizabilityAttribute.cs
- ObjectDataSourceMethodEventArgs.cs
- SqlStream.cs
- StructuralCache.cs
- FormsAuthentication.cs
- CompilationUtil.cs
- FontEditor.cs
- UdpDiscoveryEndpoint.cs
- EntityDataSourceContainerNameItem.cs
- TextTreeExtractElementUndoUnit.cs
- TraceContextEventArgs.cs
- ReadWriteSpinLock.cs
- Control.cs
- RootBuilder.cs
- WebBrowserSiteBase.cs
- GridViewCellAutomationPeer.cs
- GridProviderWrapper.cs
- WindowsScrollBar.cs
- InfoCardCryptoHelper.cs
- HttpWriter.cs
- DefaultBindingPropertyAttribute.cs
- DSASignatureDeformatter.cs
- DoubleUtil.cs
- PluralizationService.cs
- TypeInitializationException.cs
- XPathArrayIterator.cs
- _AcceptOverlappedAsyncResult.cs
- SqlBooleanizer.cs
- HttpErrorTraceRecord.cs
- ZipIOExtraFieldZip64Element.cs
- StringUtil.cs
- GreenMethods.cs
- BamlLocalizableResource.cs
- ContextStaticAttribute.cs
- SuppressMessageAttribute.cs
- metadatamappinghashervisitor.hashsourcebuilder.cs
- CompositionAdorner.cs
- CodeNamespaceCollection.cs
- MasterPageBuildProvider.cs
- TextReader.cs
- InvalidFilterCriteriaException.cs
- DSASignatureFormatter.cs
- WindowsListViewItemCheckBox.cs
- COM2IPerPropertyBrowsingHandler.cs
- DocumentViewerHelper.cs
- BinaryObjectWriter.cs
- NativeMethodsCLR.cs
- GridViewUpdatedEventArgs.cs
- DataSourceHelper.cs
- Rule.cs
- DefaultBinder.cs
- PropertyGridEditorPart.cs
- TraceHelpers.cs
- HtmlShim.cs
- DeviceSpecificChoiceCollection.cs
- XmlUnspecifiedAttribute.cs
- SqlClientMetaDataCollectionNames.cs
- DataGridViewSortCompareEventArgs.cs
- HttpModuleActionCollection.cs
- remotingproxy.cs
- EncryptedReference.cs
- ListBox.cs
- CaretElement.cs
- TreeNode.cs
- propertyentry.cs
- ObjectCacheSettings.cs
- XmlILOptimizerVisitor.cs
- XamlTreeBuilderBamlRecordWriter.cs
- _UncName.cs
- HyperLinkField.cs
- Parameter.cs
- SplitContainer.cs
- ControlDesigner.cs
- RectangleGeometry.cs
- PersianCalendar.cs