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
- ResourceCategoryAttribute.cs
- DoWorkEventArgs.cs
- _SingleItemRequestCache.cs
- SqlNamer.cs
- AsmxEndpointPickerExtension.cs
- VBIdentifierName.cs
- TextTreeNode.cs
- MatrixValueSerializer.cs
- AbsoluteQuery.cs
- VisualStyleRenderer.cs
- RemotingConfiguration.cs
- DataGridViewRowHeaderCell.cs
- EventMap.cs
- MessageQueuePermission.cs
- Camera.cs
- BindingValueChangedEventArgs.cs
- PingReply.cs
- ListSortDescription.cs
- XomlCompilerParameters.cs
- EdgeModeValidation.cs
- FixedDSBuilder.cs
- DataSourceControlBuilder.cs
- NetworkInformationException.cs
- UserMapPath.cs
- InputProviderSite.cs
- XmlILModule.cs
- ListBoxItemWrapperAutomationPeer.cs
- ExpandedWrapper.cs
- XsdValidatingReader.cs
- GridViewRow.cs
- SspiNegotiationTokenProviderState.cs
- ColumnMapProcessor.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- Deserializer.cs
- ArglessEventHandlerProxy.cs
- Line.cs
- _ConnectStream.cs
- ClientSettings.cs
- StreamWithDictionary.cs
- SendActivityDesigner.cs
- PaginationProgressEventArgs.cs
- MsmqNonTransactedPoisonHandler.cs
- Propagator.JoinPropagator.cs
- PackageFilter.cs
- IFlowDocumentViewer.cs
- TraceInternal.cs
- DbConnectionStringBuilder.cs
- IntegrationExceptionEventArgs.cs
- Helpers.cs
- BuildDependencySet.cs
- LassoSelectionBehavior.cs
- ThicknessKeyFrameCollection.cs
- AdapterDictionary.cs
- MappedMetaModel.cs
- TextEditorCharacters.cs
- DataSet.cs
- Calendar.cs
- LeftCellWrapper.cs
- ReplacementText.cs
- WebPartConnectionsCloseVerb.cs
- SafeNativeMethods.cs
- GeometryModel3D.cs
- ResolveMatches11.cs
- JournalEntry.cs
- SafeLocalMemHandle.cs
- RuleProcessor.cs
- ConfigViewGenerator.cs
- RSAPKCS1SignatureDeformatter.cs
- BinaryNode.cs
- DetailsViewModeEventArgs.cs
- Timer.cs
- EntityStoreSchemaGenerator.cs
- XmlNavigatorFilter.cs
- IndexOutOfRangeException.cs
- TextServicesCompartmentContext.cs
- FormatConvertedBitmap.cs
- IPAddressCollection.cs
- KeyTime.cs
- XmlRootAttribute.cs
- Pens.cs
- OverloadGroupAttribute.cs
- BookmarkEventArgs.cs
- ChannelToken.cs
- DataGridViewCellStyleConverter.cs
- FixUp.cs
- EpmContentDeSerializerBase.cs
- XmlSchemaIdentityConstraint.cs
- XMLSyntaxException.cs
- SortQuery.cs
- MessageSmuggler.cs
- BindingMemberInfo.cs
- ParentQuery.cs
- securitycriticaldataClass.cs
- ModelVisual3D.cs
- ByteStreamGeometryContext.cs
- FormsAuthenticationTicket.cs
- DataGridViewToolTip.cs
- QilUnary.cs
- DataGridViewCellCollection.cs
- SvcFileManager.cs