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
- InvalidTimeZoneException.cs
- IdentityHolder.cs
- ResXBuildProvider.cs
- ServiceDeploymentInfo.cs
- CodeCastExpression.cs
- GridSplitterAutomationPeer.cs
- ComponentDispatcher.cs
- HttpEncoderUtility.cs
- DefaultProxySection.cs
- FlowLayoutPanelDesigner.cs
- DocumentScope.cs
- VScrollProperties.cs
- AspCompat.cs
- SudsCommon.cs
- SqlCommandBuilder.cs
- ImportContext.cs
- SoapFault.cs
- AgileSafeNativeMemoryHandle.cs
- arabicshape.cs
- VersionedStream.cs
- BitmapData.cs
- XmlSchemaNotation.cs
- TrackingStringDictionary.cs
- GradientSpreadMethodValidation.cs
- MaskedTextBoxTextEditor.cs
- Run.cs
- RightsManagementEncryptionTransform.cs
- SoapWriter.cs
- ThousandthOfEmRealDoubles.cs
- DurableInstancingOptions.cs
- ComAdminWrapper.cs
- documentsequencetextcontainer.cs
- SecurityState.cs
- BooleanConverter.cs
- PassportPrincipal.cs
- PolicyStatement.cs
- DataControlField.cs
- DBCSCodePageEncoding.cs
- XmlSchemaSet.cs
- CryptoKeySecurity.cs
- SimplePropertyEntry.cs
- BindingContext.cs
- WindowsProgressbar.cs
- XmlRawWriterWrapper.cs
- RecommendedAsConfigurableAttribute.cs
- COM2IDispatchConverter.cs
- XmlElementAttribute.cs
- ComponentEditorPage.cs
- SByteStorage.cs
- Contracts.cs
- DataTableExtensions.cs
- FloaterParaClient.cs
- URLMembershipCondition.cs
- ObjectToken.cs
- LocationEnvironment.cs
- SqlComparer.cs
- EntityCommandExecutionException.cs
- EncoderFallback.cs
- XmlElement.cs
- OleDbSchemaGuid.cs
- PathFigureCollection.cs
- StreamUpdate.cs
- EventProvider.cs
- IQueryable.cs
- CompareInfo.cs
- HMACMD5.cs
- CookielessHelper.cs
- SqlClientFactory.cs
- MbpInfo.cs
- CodeGenerator.cs
- DefaultHttpHandler.cs
- TableItemStyle.cs
- PropertyPathConverter.cs
- ConfigurationManagerHelperFactory.cs
- PropertyChangedEventArgs.cs
- MsdtcWrapper.cs
- ClickablePoint.cs
- Panel.cs
- ComponentEditorForm.cs
- DataControlFieldHeaderCell.cs
- HostedElements.cs
- RewritingPass.cs
- FileDialogCustomPlacesCollection.cs
- IntPtr.cs
- SmtpReplyReaderFactory.cs
- LogExtentCollection.cs
- CodeLabeledStatement.cs
- WpfMemberInvoker.cs
- HttpWrapper.cs
- SafeRegistryKey.cs
- LineBreakRecord.cs
- SymDocumentType.cs
- StrongNameIdentityPermission.cs
- SafeReversePInvokeHandle.cs
- HandleCollector.cs
- WebEventCodes.cs
- WindowsListViewItem.cs
- ButtonStandardAdapter.cs
- BindableAttribute.cs
- DuplexChannel.cs