Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / Services / Monitoring / system / Diagnosticts / ProcessThreadCollection.cs / 1 / ProcessThreadCollection.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Diagnostics {
using System.Collections;
using System;
using System.IO;
using System.ComponentModel;
using System.Diagnostics;
///
/// [To be supplied.]
///
public class ProcessThreadCollection : ReadOnlyCollectionBase {
///
/// [To be supplied.]
///
protected ProcessThreadCollection() {
}
///
/// [To be supplied.]
///
public ProcessThreadCollection(ProcessThread[] processThreads) {
InnerList.AddRange(processThreads);
}
///
/// [To be supplied.]
///
public ProcessThread this[int index] {
get { return (ProcessThread)InnerList[index]; }
}
///
/// [To be supplied.]
///
public int Add(ProcessThread thread) {
return InnerList.Add(thread);
}
///
/// [To be supplied.]
///
public void Insert(int index, ProcessThread thread) {
InnerList.Insert(index, thread);
}
///
/// [To be supplied.]
///
public int IndexOf(ProcessThread thread) {
return InnerList.IndexOf(thread);
}
///
/// [To be supplied.]
///
public bool Contains(ProcessThread thread) {
return InnerList.Contains(thread);
}
///
/// [To be supplied.]
///
public void Remove(ProcessThread thread) {
InnerList.Remove(thread);
}
///
/// [To be supplied.]
///
public void CopyTo(ProcessThread[] array, int index) {
InnerList.CopyTo(array, index);
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.Diagnostics {
using System.Collections;
using System;
using System.IO;
using System.ComponentModel;
using System.Diagnostics;
///
/// [To be supplied.]
///
public class ProcessThreadCollection : ReadOnlyCollectionBase {
///
/// [To be supplied.]
///
protected ProcessThreadCollection() {
}
///
/// [To be supplied.]
///
public ProcessThreadCollection(ProcessThread[] processThreads) {
InnerList.AddRange(processThreads);
}
///
/// [To be supplied.]
///
public ProcessThread this[int index] {
get { return (ProcessThread)InnerList[index]; }
}
///
/// [To be supplied.]
///
public int Add(ProcessThread thread) {
return InnerList.Add(thread);
}
///
/// [To be supplied.]
///
public void Insert(int index, ProcessThread thread) {
InnerList.Insert(index, thread);
}
///
/// [To be supplied.]
///
public int IndexOf(ProcessThread thread) {
return InnerList.IndexOf(thread);
}
///
/// [To be supplied.]
///
public bool Contains(ProcessThread thread) {
return InnerList.Contains(thread);
}
///
/// [To be supplied.]
///
public void Remove(ProcessThread thread) {
InnerList.Remove(thread);
}
///
/// [To be supplied.]
///
public void CopyTo(ProcessThread[] array, int index) {
InnerList.CopyTo(array, index);
}
}
}
// 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
- DataColumnMapping.cs
- TypeConverterHelper.cs
- ObjectStateManager.cs
- MediaSystem.cs
- GraphicsPath.cs
- TransactionContextManager.cs
- SqlServer2KCompatibilityAnnotation.cs
- AssemblyCollection.cs
- EntityCommandExecutionException.cs
- OrderedDictionaryStateHelper.cs
- smtppermission.cs
- SecUtil.cs
- COM2EnumConverter.cs
- FullTrustAssembliesSection.cs
- InputBinding.cs
- XmlSchema.cs
- TabControlAutomationPeer.cs
- ListCardsInFileRequest.cs
- GroupBox.cs
- SafeBitVector32.cs
- EntryPointNotFoundException.cs
- ReflectionPermission.cs
- MsmqOutputSessionChannel.cs
- ResXBuildProvider.cs
- XmlText.cs
- PersistenceProviderFactory.cs
- StringStorage.cs
- SqlDataSource.cs
- SingleResultAttribute.cs
- TextFormatterImp.cs
- PenLineCapValidation.cs
- EncoderParameter.cs
- UserControlBuildProvider.cs
- OdbcFactory.cs
- GridViewAutomationPeer.cs
- DataBindingCollection.cs
- StringToken.cs
- RepeaterDesigner.cs
- ProviderConnectionPoint.cs
- ValidationEventArgs.cs
- DiagnosticsConfiguration.cs
- ManipulationDelta.cs
- DynamicUpdateCommand.cs
- WebBrowserNavigatingEventHandler.cs
- ItemChangedEventArgs.cs
- CrossSiteScriptingValidation.cs
- ForeignConstraint.cs
- CookieParameter.cs
- PreviewControlDesigner.cs
- PreviewPageInfo.cs
- ResourcePermissionBaseEntry.cs
- infer.cs
- CachingHintValidation.cs
- ToolStripItemCollection.cs
- X509WindowsSecurityToken.cs
- DependencyObject.cs
- IndexingContentUnit.cs
- StrokeCollectionDefaultValueFactory.cs
- EventListenerClientSide.cs
- ParserHooks.cs
- CodeDOMUtility.cs
- TextRunTypographyProperties.cs
- NestPullup.cs
- QueryResult.cs
- DateTimePickerDesigner.cs
- SearchForVirtualItemEventArgs.cs
- peernodestatemanager.cs
- ScrollProviderWrapper.cs
- PointCollection.cs
- DrawingContextDrawingContextWalker.cs
- IxmlLineInfo.cs
- AppSettingsSection.cs
- NonClientArea.cs
- SystemThemeKey.cs
- _UriTypeConverter.cs
- OracleMonthSpan.cs
- InlineObject.cs
- StringAnimationUsingKeyFrames.cs
- ResolvedKeyFrameEntry.cs
- RectAnimationBase.cs
- ExcCanonicalXml.cs
- WebPartCollection.cs
- Menu.cs
- IsolatedStoragePermission.cs
- SortedDictionary.cs
- COM2ComponentEditor.cs
- WeakReferenceList.cs
- XmlSchemaChoice.cs
- NullableConverter.cs
- OutArgument.cs
- httpapplicationstate.cs
- Pen.cs
- ErrorActivity.cs
- PropertySet.cs
- XmlElementCollection.cs
- X509IssuerSerialKeyIdentifierClause.cs
- CompilerErrorCollection.cs
- ControlPaint.cs
- SiteIdentityPermission.cs
- DecoderFallback.cs