Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / CompMod / System / Diagnostics / PerfCounterSection.cs / 1 / PerfCounterSection.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
using System.Configuration;
namespace System.Diagnostics {
internal class PerfCounterSection : ConfigurationElement {
private static readonly ConfigurationPropertyCollection _properties;
private static readonly ConfigurationProperty _propFileMappingSize = new ConfigurationProperty("filemappingsize", typeof(int), 524288, ConfigurationPropertyOptions.None);
static PerfCounterSection(){
_properties = new ConfigurationPropertyCollection();
_properties.Add(_propFileMappingSize);
}
[ConfigurationProperty("filemappingsize", DefaultValue = 524288)]
public int FileMappingSize {
get {
return (int) this[_propFileMappingSize];
}
}
protected override ConfigurationPropertyCollection Properties {
get {
return _properties;
}
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
using System.Configuration;
namespace System.Diagnostics {
internal class PerfCounterSection : ConfigurationElement {
private static readonly ConfigurationPropertyCollection _properties;
private static readonly ConfigurationProperty _propFileMappingSize = new ConfigurationProperty("filemappingsize", typeof(int), 524288, ConfigurationPropertyOptions.None);
static PerfCounterSection(){
_properties = new ConfigurationPropertyCollection();
_properties.Add(_propFileMappingSize);
}
[ConfigurationProperty("filemappingsize", DefaultValue = 524288)]
public int FileMappingSize {
get {
return (int) this[_propFileMappingSize];
}
}
protected override ConfigurationPropertyCollection Properties {
get {
return _properties;
}
}
}
}
// 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
- HtmlInputSubmit.cs
- DataListItemCollection.cs
- ImageBrush.cs
- DashStyle.cs
- TypeConstant.cs
- DockPanel.cs
- HwndSource.cs
- WeakReferenceKey.cs
- ClientApiGenerator.cs
- CollectionTraceRecord.cs
- ComplexBindingPropertiesAttribute.cs
- IDReferencePropertyAttribute.cs
- SoapServerProtocol.cs
- HScrollProperties.cs
- DataGridViewCellPaintingEventArgs.cs
- DisplayInformation.cs
- Function.cs
- BridgeDataRecord.cs
- EncryptedPackageFilter.cs
- IpcPort.cs
- ClientApiGenerator.cs
- XPathSelectionIterator.cs
- XPathMultyIterator.cs
- XmlRootAttribute.cs
- CLSCompliantAttribute.cs
- DBParameter.cs
- RoleService.cs
- SystemNetworkInterface.cs
- XmlSchemaAttribute.cs
- TagNameToTypeMapper.cs
- XPathSingletonIterator.cs
- ToolStripHighContrastRenderer.cs
- QueryCreatedEventArgs.cs
- HtmlTableCell.cs
- SubordinateTransaction.cs
- PageCodeDomTreeGenerator.cs
- DbXmlEnabledProviderManifest.cs
- SqlBulkCopyColumnMappingCollection.cs
- ItemsChangedEventArgs.cs
- ApplicationInfo.cs
- HeaderedItemsControl.cs
- TextTrailingWordEllipsis.cs
- DtcInterfaces.cs
- ToolStripItemDesigner.cs
- InstallerTypeAttribute.cs
- CryptoHelper.cs
- ReadOnlyDictionary.cs
- SizeAnimationClockResource.cs
- ISO2022Encoding.cs
- ReflectEventDescriptor.cs
- _ListenerRequestStream.cs
- EventDriven.cs
- DesignSurfaceManager.cs
- AccessorTable.cs
- XmlILAnnotation.cs
- NativeMethodsOther.cs
- CalloutQueueItem.cs
- ProfileParameter.cs
- LocalFileSettingsProvider.cs
- FileUpload.cs
- EntityDataSourceStatementEditorForm.cs
- SafeNativeMethods.cs
- SynchronizedPool.cs
- IndentTextWriter.cs
- DesignerForm.cs
- DataList.cs
- GeneralTransformGroup.cs
- NetStream.cs
- NativeMethods.cs
- BinaryParser.cs
- DependencyObjectPropertyDescriptor.cs
- DirtyTextRange.cs
- HMACSHA384.cs
- DrawingAttributes.cs
- Interlocked.cs
- DateTimeFormatInfo.cs
- SecurityAttributeGenerationHelper.cs
- ElementUtil.cs
- ManipulationStartedEventArgs.cs
- AutomationPattern.cs
- AnnotationAuthorChangedEventArgs.cs
- Point4DConverter.cs
- CacheDict.cs
- SchemaComplexType.cs
- ToolStripSettings.cs
- KeyNotFoundException.cs
- SocketInformation.cs
- BitmapMetadataBlob.cs
- EncoderExceptionFallback.cs
- DetailsView.cs
- FontEmbeddingManager.cs
- AssemblyAttributes.cs
- _Rfc2616CacheValidators.cs
- SimpleModelProvider.cs
- TabControl.cs
- StringValidator.cs
- ViewValidator.cs
- StringAnimationUsingKeyFrames.cs
- TableCell.cs
- SplitContainer.cs