Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- Walker.cs
- ObjectIDGenerator.cs
- DefaultPrintController.cs
- DateTimeFormatInfoScanner.cs
- TableLayoutRowStyleCollection.cs
- TdsRecordBufferSetter.cs
- PagesSection.cs
- TextTrailingWordEllipsis.cs
- Vector.cs
- TransactionFlowAttribute.cs
- ClickablePoint.cs
- Int16Storage.cs
- querybuilder.cs
- DataGridViewCheckBoxCell.cs
- Gdiplus.cs
- _UriTypeConverter.cs
- ItemCollectionEditor.cs
- PerformanceCounterPermissionAttribute.cs
- StickyNote.cs
- Events.cs
- WindowsSysHeader.cs
- BuilderPropertyEntry.cs
- XmlAnyElementAttribute.cs
- ScrollChrome.cs
- SequentialUshortCollection.cs
- DynamicArgumentDialog.cs
- TextTreeText.cs
- DbSourceParameterCollection.cs
- CorrelationExtension.cs
- RNGCryptoServiceProvider.cs
- StrokeRenderer.cs
- PathTooLongException.cs
- ScriptBehaviorDescriptor.cs
- ConfigXmlElement.cs
- AsyncStreamReader.cs
- Transform3D.cs
- CurrencyWrapper.cs
- ScrollContentPresenter.cs
- Int16KeyFrameCollection.cs
- SpecularMaterial.cs
- ContextBase.cs
- TraceUtils.cs
- HostExecutionContextManager.cs
- ParagraphResult.cs
- ApplicationContext.cs
- OracleDateTime.cs
- AutoGeneratedFieldProperties.cs
- SessionStateItemCollection.cs
- TagPrefixAttribute.cs
- StylusPointPropertyInfoDefaults.cs
- SyncMethodInvoker.cs
- ServiceDurableInstanceContextProvider.cs
- Binding.cs
- ContextMarshalException.cs
- ImpersonateTokenRef.cs
- NameValueConfigurationCollection.cs
- PropertyPath.cs
- CompositeControl.cs
- KeyMatchBuilder.cs
- CompletedAsyncResult.cs
- SafeCryptContextHandle.cs
- MembershipPasswordException.cs
- BufferModeSettings.cs
- SessionStateSection.cs
- Literal.cs
- DrawingCollection.cs
- GCHandleCookieTable.cs
- FixedDocumentPaginator.cs
- UnsafeNativeMethods.cs
- StringValidatorAttribute.cs
- Psha1DerivedKeyGeneratorHelper.cs
- MediaElementAutomationPeer.cs
- RootProfilePropertySettingsCollection.cs
- FontCollection.cs
- StringToken.cs
- followingquery.cs
- ArcSegment.cs
- RecommendedAsConfigurableAttribute.cs
- FormatterServicesNoSerializableCheck.cs
- NavigationWindowAutomationPeer.cs
- EdmComplexTypeAttribute.cs
- WebPartsPersonalizationAuthorization.cs
- MaskedTextBoxDesigner.cs
- GeometryCombineModeValidation.cs
- ListMarkerSourceInfo.cs
- MetadataFile.cs
- DefaultPropertiesToSend.cs
- OleDbPropertySetGuid.cs
- WebPartDisplayMode.cs
- SqlSupersetValidator.cs
- TableLayoutPanelCellPosition.cs
- GraphicsContainer.cs
- TableHeaderCell.cs
- SoapSchemaImporter.cs
- SeverityFilter.cs
- RepeaterItem.cs
- WebPartVerbsEventArgs.cs
- SqlDataSourceAdvancedOptionsForm.cs
- CheckPair.cs
- XsdBuildProvider.cs