IDisposable IDisposable IDisposable IDisposable Interface
Definizione
Offre un meccanismo per il rilascio delle risorse non gestite.Provides a mechanism for releasing unmanaged resources.
public interface class IDisposable
[System.Runtime.InteropServices.ComVisible(true)]
public interface IDisposable
type IDisposable = interface
Public Interface IDisposable
- Derivato
-
Microsoft.Build.Debugging.DebuggerManager.IslandThreadMicrosoft.Build.Debugging.DebuggerManager.IslandThreadMicrosoft.Build.Debugging.DebuggerManager.IslandThreadMicrosoft.Build.Debugging.DebuggerManager.IslandThreadMicrosoft.Build.Evaluation.ProjectCollectionMicrosoft.Build.Evaluation.ProjectCollectionMicrosoft.Build.Evaluation.ProjectCollectionMicrosoft.Build.Evaluation.ProjectCollectionMicrosoft.Build.Execution.BuildManagerMicrosoft.Build.Execution.BuildManagerMicrosoft.Build.Execution.BuildManagerMicrosoft.Build.Execution.BuildManagerMicrosoft.VisualBasic.Compatibility.VB6.BaseDataEnvironmentMicrosoft.VisualBasic.Compatibility.VB6.BaseDataEnvironmentMicrosoft.VisualBasic.Compatibility.VB6.BaseDataEnvironmentMicrosoft.VisualBasic.Compatibility.VB6.BaseDataEnvironmentMicrosoft.VisualBasic.Compatibility.VB6.MBindingMicrosoft.VisualBasic.Compatibility.VB6.MBindingMicrosoft.VisualBasic.Compatibility.VB6.MBindingMicrosoft.VisualBasic.Compatibility.VB6.MBindingMicrosoft.VisualBasic.Compatibility.VB6.MBindingCollectionMicrosoft.VisualBasic.Compatibility.VB6.MBindingCollectionMicrosoft.VisualBasic.Compatibility.VB6.MBindingCollectionMicrosoft.VisualBasic.Compatibility.VB6.MBindingCollectionMicrosoft.VisualBasic.FileIO.TextFieldParserMicrosoft.VisualBasic.FileIO.TextFieldParserMicrosoft.VisualBasic.FileIO.TextFieldParserMicrosoft.VisualBasic.FileIO.TextFieldParserMicrosoft.VisualC.StlClr.DequeEnumerator<TValue>Microsoft.VisualC.StlClr.DequeEnumerator<TValue>Microsoft.VisualC.StlClr.DequeEnumerator<TValue>Microsoft.VisualC.StlClr.DequeEnumerator<TValue>Microsoft.VisualC.StlClr.HashEnumerator<TKey,TValue>Microsoft.VisualC.StlClr.HashEnumerator<TKey,TValue>Microsoft.VisualC.StlClr.HashEnumerator<TKey,TValue>Microsoft.VisualC.StlClr.HashEnumerator<TKey,TValue>Microsoft.VisualC.StlClr.ListEnumerator<TValue>Microsoft.VisualC.StlClr.ListEnumerator<TValue>Microsoft.VisualC.StlClr.ListEnumerator<TValue>Microsoft.VisualC.StlClr.ListEnumerator<TValue>Microsoft.VisualC.StlClr.TreeEnumerator<TKey,TValue>Microsoft.VisualC.StlClr.TreeEnumerator<TKey,TValue>Microsoft.VisualC.StlClr.TreeEnumerator<TKey,TValue>Microsoft.VisualC.StlClr.TreeEnumerator<TKey,TValue>Microsoft.VisualC.StlClr.VectorEnumerator<TValue>Microsoft.VisualC.StlClr.VectorEnumerator<TValue>Microsoft.VisualC.StlClr.VectorEnumerator<TValue>Microsoft.VisualC.StlClr.VectorEnumerator<TValue>Microsoft.Win32.RegistryKeyMicrosoft.Win32.RegistryKeyMicrosoft.Win32.RegistryKeyMicrosoft.Win32.RegistryKeyMono.Security.Interface.IMonoSslStreamMono.Security.Interface.IMonoSslStreamMono.Security.Interface.IMonoSslStreamMono.Security.Interface.IMonoSslStreamMono.Security.Protocol.Ntlm.ChallengeResponseMono.Security.Protocol.Ntlm.ChallengeResponseMono.Security.Protocol.Ntlm.ChallengeResponseMono.Security.Protocol.Ntlm.ChallengeResponseSystem.Activities.WorkflowDataContextSystem.Activities.WorkflowDataContextSystem.Activities.WorkflowDataContextSystem.Activities.WorkflowDataContextSystem.Activities.Debugger.StateManagerSystem.Activities.Debugger.StateManagerSystem.Activities.Debugger.StateManagerSystem.Activities.Debugger.StateManagerSystem.Activities.Presentation.EditingContextSystem.Activities.Presentation.EditingContextSystem.Activities.Presentation.EditingContextSystem.Activities.Presentation.EditingContextSystem.Activities.Presentation.Model.ModelEditingScopeSystem.Activities.Presentation.Model.ModelEditingScopeSystem.Activities.Presentation.Model.ModelEditingScopeSystem.Activities.Presentation.Model.ModelEditingScopeSystem.Activities.Statements.DurableTimerExtensionSystem.Activities.Statements.DurableTimerExtensionSystem.Activities.Statements.DurableTimerExtensionSystem.Activities.Statements.DurableTimerExtensionSystem.AddIn.Contract.IEnumeratorContract<T>System.AddIn.Contract.IEnumeratorContract<T>System.AddIn.Contract.IEnumeratorContract<T>System.AddIn.Contract.IEnumeratorContract<T>System.AddIn.Pipeline.ContractHandleSystem.AddIn.Pipeline.ContractHandleSystem.AddIn.Pipeline.ContractHandleSystem.AddIn.Pipeline.ContractHandleSystem.Buffers.IMemoryOwner<T>System.Buffers.IMemoryOwner<T>System.Buffers.IMemoryOwner<T>System.Buffers.IMemoryOwner<T>System.Buffers.MemoryHandleSystem.Buffers.MemoryHandleSystem.Buffers.MemoryHandleSystem.Buffers.MemoryHandleSystem.Buffers.MemoryManager<T>System.Buffers.MemoryManager<T>System.Buffers.MemoryManager<T>System.Buffers.MemoryManager<T>System.Buffers.MemoryPool<T>System.Buffers.MemoryPool<T>System.Buffers.MemoryPool<T>System.Buffers.MemoryPool<T>System.CodeDom.Compiler.TempFileCollectionSystem.CodeDom.Compiler.TempFileCollectionSystem.CodeDom.Compiler.TempFileCollectionSystem.CodeDom.Compiler.TempFileCollectionSystem.Collections.Concurrent.BlockingCollection<T>System.Collections.Concurrent.BlockingCollection<T>System.Collections.Concurrent.BlockingCollection<T>System.Collections.Concurrent.BlockingCollection<T>System.Collections.Generic.Dictionary<TKey,TValue>.EnumeratorSystem.Collections.Generic.Dictionary<TKey,TValue>.EnumeratorSystem.Collections.Generic.Dictionary<TKey,TValue>.EnumeratorSystem.Collections.Generic.Dictionary<TKey,TValue>.EnumeratorSystem.Collections.Generic.Dictionary<TKey,TValue>.KeyCollection.EnumeratorSystem.Collections.Generic.Dictionary<TKey,TValue>.KeyCollection.EnumeratorSystem.Collections.Generic.Dictionary<TKey,TValue>.KeyCollection.EnumeratorSystem.Collections.Generic.Dictionary<TKey,TValue>.KeyCollection.EnumeratorSystem.Collections.Generic.Dictionary<TKey,TValue>.ValueCollection.EnumeratorSystem.Collections.Generic.Dictionary<TKey,TValue>.ValueCollection.EnumeratorSystem.Collections.Generic.Dictionary<TKey,TValue>.ValueCollection.EnumeratorSystem.Collections.Generic.Dictionary<TKey,TValue>.ValueCollection.EnumeratorSystem.Collections.Generic.HashSet<T>.EnumeratorSystem.Collections.Generic.HashSet<T>.EnumeratorSystem.Collections.Generic.HashSet<T>.EnumeratorSystem.Collections.Generic.HashSet<T>.EnumeratorSystem.Collections.Generic.IEnumerator<T>System.Collections.Generic.IEnumerator<T>System.Collections.Generic.IEnumerator<T>System.Collections.Generic.IEnumerator<T>System.Collections.Generic.LinkedList<T>.EnumeratorSystem.Collections.Generic.LinkedList<T>.EnumeratorSystem.Collections.Generic.LinkedList<T>.EnumeratorSystem.Collections.Generic.LinkedList<T>.EnumeratorSystem.Collections.Generic.List<T>.EnumeratorSystem.Collections.Generic.List<T>.EnumeratorSystem.Collections.Generic.List<T>.EnumeratorSystem.Collections.Generic.List<T>.EnumeratorSystem.Collections.Generic.Queue<T>.EnumeratorSystem.Collections.Generic.Queue<T>.EnumeratorSystem.Collections.Generic.Queue<T>.EnumeratorSystem.Collections.Generic.Queue<T>.EnumeratorSystem.Collections.Generic.SortedDictionary<TKey,TValue>.EnumeratorSystem.Collections.Generic.SortedDictionary<TKey,TValue>.EnumeratorSystem.Collections.Generic.SortedDictionary<TKey,TValue>.EnumeratorSystem.Collections.Generic.SortedDictionary<TKey,TValue>.EnumeratorSystem.Collections.Generic.SortedDictionary<TKey,TValue>.KeyCollection.EnumeratorSystem.Collections.Generic.SortedDictionary<TKey,TValue>.KeyCollection.EnumeratorSystem.Collections.Generic.SortedDictionary<TKey,TValue>.KeyCollection.EnumeratorSystem.Collections.Generic.SortedDictionary<TKey,TValue>.KeyCollection.EnumeratorSystem.Collections.Generic.SortedDictionary<TKey,TValue>.ValueCollection.EnumeratorSystem.Collections.Generic.SortedDictionary<TKey,TValue>.ValueCollection.EnumeratorSystem.Collections.Generic.SortedDictionary<TKey,TValue>.ValueCollection.EnumeratorSystem.Collections.Generic.SortedDictionary<TKey,TValue>.ValueCollection.EnumeratorSystem.Collections.Generic.SortedSet<T>.EnumeratorSystem.Collections.Generic.SortedSet<T>.EnumeratorSystem.Collections.Generic.SortedSet<T>.EnumeratorSystem.Collections.Generic.SortedSet<T>.EnumeratorSystem.Collections.Generic.Stack<T>.EnumeratorSystem.Collections.Generic.Stack<T>.EnumeratorSystem.Collections.Generic.Stack<T>.EnumeratorSystem.Collections.Generic.Stack<T>.EnumeratorSystem.Collections.Immutable.ImmutableDictionary<TKey,TValue>.EnumeratorSystem.Collections.Immutable.ImmutableDictionary<TKey,TValue>.EnumeratorSystem.Collections.Immutable.ImmutableDictionary<TKey,TValue>.EnumeratorSystem.Collections.Immutable.ImmutableDictionary<TKey,TValue>.EnumeratorSystem.Collections.Immutable.ImmutableHashSet<T>.EnumeratorSystem.Collections.Immutable.ImmutableHashSet<T>.EnumeratorSystem.Collections.Immutable.ImmutableHashSet<T>.EnumeratorSystem.Collections.Immutable.ImmutableHashSet<T>.EnumeratorSystem.Collections.Immutable.ImmutableList<T>.EnumeratorSystem.Collections.Immutable.ImmutableList<T>.EnumeratorSystem.Collections.Immutable.ImmutableList<T>.EnumeratorSystem.Collections.Immutable.ImmutableList<T>.EnumeratorSystem.Collections.Immutable.ImmutableSortedDictionary<TKey,TValue>.EnumeratorSystem.Collections.Immutable.ImmutableSortedDictionary<TKey,TValue>.EnumeratorSystem.Collections.Immutable.ImmutableSortedDictionary<TKey,TValue>.EnumeratorSystem.Collections.Immutable.ImmutableSortedDictionary<TKey,TValue>.EnumeratorSystem.Collections.Immutable.ImmutableSortedSet<T>.EnumeratorSystem.Collections.Immutable.ImmutableSortedSet<T>.EnumeratorSystem.Collections.Immutable.ImmutableSortedSet<T>.EnumeratorSystem.Collections.Immutable.ImmutableSortedSet<T>.EnumeratorSystem.ComponentModel.ComponentSystem.ComponentModel.ComponentSystem.ComponentModel.ComponentSystem.ComponentModel.ComponentSystem.ComponentModel.ContainerSystem.ComponentModel.ContainerSystem.ComponentModel.ContainerSystem.ComponentModel.ContainerSystem.ComponentModel.EventHandlerListSystem.ComponentModel.EventHandlerListSystem.ComponentModel.EventHandlerListSystem.ComponentModel.EventHandlerListSystem.ComponentModel.IComponentSystem.ComponentModel.IComponentSystem.ComponentModel.IComponentSystem.ComponentModel.IComponentSystem.ComponentModel.IContainerSystem.ComponentModel.IContainerSystem.ComponentModel.IContainerSystem.ComponentModel.IContainerSystem.ComponentModel.INestedContainerSystem.ComponentModel.INestedContainerSystem.ComponentModel.INestedContainerSystem.ComponentModel.INestedContainerSystem.ComponentModel.LicenseSystem.ComponentModel.LicenseSystem.ComponentModel.LicenseSystem.ComponentModel.LicenseSystem.ComponentModel.MarshalByValueComponentSystem.ComponentModel.MarshalByValueComponentSystem.ComponentModel.MarshalByValueComponentSystem.ComponentModel.MarshalByValueComponentSystem.ComponentModel.NestedContainerSystem.ComponentModel.NestedContainerSystem.ComponentModel.NestedContainerSystem.ComponentModel.NestedContainerSystem.ComponentModel.Composition.ExportLifetimeContext<T>System.ComponentModel.Composition.ExportLifetimeContext<T>System.ComponentModel.Composition.ExportLifetimeContext<T>System.ComponentModel.Composition.ExportLifetimeContext<T>System.ComponentModel.Composition.Hosting.AggregateExportProviderSystem.ComponentModel.Composition.Hosting.AggregateExportProviderSystem.ComponentModel.Composition.Hosting.AggregateExportProviderSystem.ComponentModel.Composition.Hosting.AggregateExportProviderSystem.ComponentModel.Composition.Hosting.AtomicCompositionSystem.ComponentModel.Composition.Hosting.AtomicCompositionSystem.ComponentModel.Composition.Hosting.AtomicCompositionSystem.ComponentModel.Composition.Hosting.AtomicCompositionSystem.ComponentModel.Composition.Hosting.CatalogExportProviderSystem.ComponentModel.Composition.Hosting.CatalogExportProviderSystem.ComponentModel.Composition.Hosting.CatalogExportProviderSystem.ComponentModel.Composition.Hosting.CatalogExportProviderSystem.ComponentModel.Composition.Hosting.ComposablePartExportProviderSystem.ComponentModel.Composition.Hosting.ComposablePartExportProviderSystem.ComponentModel.Composition.Hosting.ComposablePartExportProviderSystem.ComponentModel.Composition.Hosting.ComposablePartExportProviderSystem.ComponentModel.Composition.Hosting.CompositionContainerSystem.ComponentModel.Composition.Hosting.CompositionContainerSystem.ComponentModel.Composition.Hosting.CompositionContainerSystem.ComponentModel.Composition.Hosting.CompositionContainerSystem.ComponentModel.Composition.Hosting.CompositionServiceSystem.ComponentModel.Composition.Hosting.CompositionServiceSystem.ComponentModel.Composition.Hosting.CompositionServiceSystem.ComponentModel.Composition.Hosting.CompositionServiceSystem.ComponentModel.Composition.Hosting.ImportEngineSystem.ComponentModel.Composition.Hosting.ImportEngineSystem.ComponentModel.Composition.Hosting.ImportEngineSystem.ComponentModel.Composition.Hosting.ImportEngineSystem.ComponentModel.Composition.Primitives.ComposablePartCatalogSystem.ComponentModel.Composition.Primitives.ComposablePartCatalogSystem.ComponentModel.Composition.Primitives.ComposablePartCatalogSystem.ComponentModel.Composition.Primitives.ComposablePartCatalogSystem.ComponentModel.Design.ComponentDesignerSystem.ComponentModel.Design.ComponentDesignerSystem.ComponentModel.Design.ComponentDesignerSystem.ComponentModel.Design.ComponentDesignerSystem.ComponentModel.Design.DesignerActionServiceSystem.ComponentModel.Design.DesignerActionServiceSystem.ComponentModel.Design.DesignerActionServiceSystem.ComponentModel.Design.DesignerActionServiceSystem.ComponentModel.Design.DesignerActionUIServiceSystem.ComponentModel.Design.DesignerActionUIServiceSystem.ComponentModel.Design.DesignerActionUIServiceSystem.ComponentModel.Design.DesignerActionUIServiceSystem.ComponentModel.Design.DesignerTransactionSystem.ComponentModel.Design.DesignerTransactionSystem.ComponentModel.Design.DesignerTransactionSystem.ComponentModel.Design.DesignerTransactionSystem.ComponentModel.Design.DesignSurfaceSystem.ComponentModel.Design.DesignSurfaceSystem.ComponentModel.Design.DesignSurfaceSystem.ComponentModel.Design.DesignSurfaceSystem.ComponentModel.Design.DesignSurfaceManagerSystem.ComponentModel.Design.DesignSurfaceManagerSystem.ComponentModel.Design.DesignSurfaceManagerSystem.ComponentModel.Design.DesignSurfaceManagerSystem.ComponentModel.Design.IDesignerSystem.ComponentModel.Design.IDesignerSystem.ComponentModel.Design.IDesignerSystem.ComponentModel.Design.IDesignerSystem.ComponentModel.Design.InheritanceServiceSystem.ComponentModel.Design.InheritanceServiceSystem.ComponentModel.Design.InheritanceServiceSystem.ComponentModel.Design.InheritanceServiceSystem.ComponentModel.Design.IRootDesignerSystem.ComponentModel.Design.IRootDesignerSystem.ComponentModel.Design.IRootDesignerSystem.ComponentModel.Design.IRootDesignerSystem.ComponentModel.Design.ITreeDesignerSystem.ComponentModel.Design.ITreeDesignerSystem.ComponentModel.Design.ITreeDesignerSystem.ComponentModel.Design.ITreeDesignerSystem.ComponentModel.Design.LocalizationExtenderProviderSystem.ComponentModel.Design.LocalizationExtenderProviderSystem.ComponentModel.Design.LocalizationExtenderProviderSystem.ComponentModel.Design.LocalizationExtenderProviderSystem.ComponentModel.Design.MenuCommandServiceSystem.ComponentModel.Design.MenuCommandServiceSystem.ComponentModel.Design.MenuCommandServiceSystem.ComponentModel.Design.MenuCommandServiceSystem.ComponentModel.Design.ServiceContainerSystem.ComponentModel.Design.ServiceContainerSystem.ComponentModel.Design.ServiceContainerSystem.ComponentModel.Design.ServiceContainerSystem.ComponentModel.Design.UndoEngineSystem.ComponentModel.Design.UndoEngineSystem.ComponentModel.Design.UndoEngineSystem.ComponentModel.Design.UndoEngineSystem.ComponentModel.Design.Serialization.CodeDomLocalizationProviderSystem.ComponentModel.Design.Serialization.CodeDomLocalizationProviderSystem.ComponentModel.Design.Serialization.CodeDomLocalizationProviderSystem.ComponentModel.Design.Serialization.CodeDomLocalizationProviderSystem.ComponentModel.Design.Serialization.SerializationStoreSystem.ComponentModel.Design.Serialization.SerializationStoreSystem.ComponentModel.Design.Serialization.SerializationStoreSystem.ComponentModel.Design.Serialization.SerializationStoreSystem.Composition.Export<T>System.Composition.Export<T>System.Composition.Export<T>System.Composition.Export<T>System.Composition.Hosting.CompositionHostSystem.Composition.Hosting.CompositionHostSystem.Composition.Hosting.CompositionHostSystem.Composition.Hosting.CompositionHostSystem.Composition.Hosting.Core.CompositionOperationSystem.Composition.Hosting.Core.CompositionOperationSystem.Composition.Hosting.Core.CompositionOperationSystem.Composition.Hosting.Core.CompositionOperationSystem.Composition.Hosting.Core.LifetimeContextSystem.Composition.Hosting.Core.LifetimeContextSystem.Composition.Hosting.Core.LifetimeContextSystem.Composition.Hosting.Core.LifetimeContextSystem.Data.IDbConnectionSystem.Data.IDbConnectionSystem.Data.IDbConnectionSystem.Data.IDbConnectionSystem.Data.IDbTransactionSystem.Data.IDbTransactionSystem.Data.IDbTransactionSystem.Data.IDbTransactionSystem.Data.Common.DbCommandSystem.Data.Common.DbCommandSystem.Data.Common.DbCommandSystem.Data.Common.DbCommandSystem.Data.Common.DbConnectionSystem.Data.Common.DbConnectionSystem.Data.Common.DbConnectionSystem.Data.Common.DbConnectionSystem.Data.Common.DbDataReaderSystem.Data.Common.DbDataReaderSystem.Data.Common.DbDataReaderSystem.Data.Common.DbDataReaderSystem.Data.Common.DbTransactionSystem.Data.Common.DbTransactionSystem.Data.Common.DbTransactionSystem.Data.Common.DbTransactionSystem.Data.Linq.DataContextSystem.Data.Linq.DataContextSystem.Data.Linq.DataContextSystem.Data.Linq.DataContextSystem.Data.Linq.IExecuteResultSystem.Data.Linq.IExecuteResultSystem.Data.Linq.IExecuteResultSystem.Data.Linq.IExecuteResultSystem.Data.Linq.IMultipleResultsSystem.Data.Linq.IMultipleResultsSystem.Data.Linq.IMultipleResultsSystem.Data.Linq.IMultipleResultsSystem.Data.Linq.ISingleResult<T>System.Data.Linq.ISingleResult<T>System.Data.Linq.ISingleResult<T>System.Data.Linq.ISingleResult<T>System.Data.Linq.SqlClient.SqlProviderSystem.Data.Linq.SqlClient.SqlProviderSystem.Data.Linq.SqlClient.SqlProviderSystem.Data.Linq.SqlClient.SqlProviderSystem.Data.Metadata.Edm.ReadOnlyMetadataCollection<T>.EnumeratorSystem.Data.Metadata.Edm.ReadOnlyMetadataCollection<T>.EnumeratorSystem.Data.Metadata.Edm.ReadOnlyMetadataCollection<T>.EnumeratorSystem.Data.Metadata.Edm.ReadOnlyMetadataCollection<T>.EnumeratorSystem.Data.Objects.ObjectContextSystem.Data.Objects.ObjectContextSystem.Data.Objects.ObjectContextSystem.Data.Objects.ObjectContextSystem.Data.Objects.ObjectResultSystem.Data.Objects.ObjectResultSystem.Data.Objects.ObjectResultSystem.Data.Objects.ObjectResultSystem.Data.OleDb.OleDbCommandSystem.Data.OleDb.OleDbCommandSystem.Data.OleDb.OleDbCommandSystem.Data.OleDb.OleDbCommandSystem.Data.OleDb.OleDbConnectionSystem.Data.OleDb.OleDbConnectionSystem.Data.OleDb.OleDbConnectionSystem.Data.OleDb.OleDbConnectionSystem.Data.OracleClient.OracleBFileSystem.Data.OracleClient.OracleBFileSystem.Data.OracleClient.OracleBFileSystem.Data.OracleClient.OracleBFileSystem.Data.OracleClient.OracleLobSystem.Data.OracleClient.OracleLobSystem.Data.OracleClient.OracleLobSystem.Data.OracleClient.OracleLobSystem.Data.Services.Client.DataServiceStreamResponseSystem.Data.Services.Client.DataServiceStreamResponseSystem.Data.Services.Client.DataServiceStreamResponseSystem.Data.Services.Client.DataServiceStreamResponseSystem.Data.SqlClient.SqlBulkCopySystem.Data.SqlClient.SqlBulkCopySystem.Data.SqlClient.SqlBulkCopySystem.Data.SqlClient.SqlBulkCopySystem.Data.SqlClient.SqlCommandSystem.Data.SqlClient.SqlCommandSystem.Data.SqlClient.SqlCommandSystem.Data.SqlClient.SqlCommandSystem.Data.SqlClient.SqlConnectionSystem.Data.SqlClient.SqlConnectionSystem.Data.SqlClient.SqlConnectionSystem.Data.SqlClient.SqlConnectionSystem.Data.SqlClient.SqlDataReaderSystem.Data.SqlClient.SqlDataReaderSystem.Data.SqlClient.SqlDataReaderSystem.Data.SqlClient.SqlDataReaderSystem.Data.SqlClient.SqlTransactionSystem.Data.SqlClient.SqlTransactionSystem.Data.SqlClient.SqlTransactionSystem.Data.SqlClient.SqlTransactionSystem.Deployment.Application.InPlaceHostingManagerSystem.Deployment.Application.InPlaceHostingManagerSystem.Deployment.Application.InPlaceHostingManagerSystem.Deployment.Application.InPlaceHostingManagerSystem.Device.Location.GeoCoordinateWatcherSystem.Device.Location.GeoCoordinateWatcherSystem.Device.Location.GeoCoordinateWatcherSystem.Device.Location.GeoCoordinateWatcherSystem.Diagnostics.DiagnosticListenerSystem.Diagnostics.DiagnosticListenerSystem.Diagnostics.DiagnosticListenerSystem.Diagnostics.DiagnosticListenerSystem.Diagnostics.TraceListenerSystem.Diagnostics.TraceListenerSystem.Diagnostics.TraceListenerSystem.Diagnostics.TraceListenerSystem.Diagnostics.Eventing.EventProviderSystem.Diagnostics.Eventing.EventProviderSystem.Diagnostics.Eventing.EventProviderSystem.Diagnostics.Eventing.EventProviderSystem.Diagnostics.Eventing.Reader.EventLogConfigurationSystem.Diagnostics.Eventing.Reader.EventLogConfigurationSystem.Diagnostics.Eventing.Reader.EventLogConfigurationSystem.Diagnostics.Eventing.Reader.EventLogConfigurationSystem.Diagnostics.Eventing.Reader.EventLogPropertySelectorSystem.Diagnostics.Eventing.Reader.EventLogPropertySelectorSystem.Diagnostics.Eventing.Reader.EventLogPropertySelectorSystem.Diagnostics.Eventing.Reader.EventLogPropertySelectorSystem.Diagnostics.Eventing.Reader.EventLogReaderSystem.Diagnostics.Eventing.Reader.EventLogReaderSystem.Diagnostics.Eventing.Reader.EventLogReaderSystem.Diagnostics.Eventing.Reader.EventLogReaderSystem.Diagnostics.Eventing.Reader.EventLogSessionSystem.Diagnostics.Eventing.Reader.EventLogSessionSystem.Diagnostics.Eventing.Reader.EventLogSessionSystem.Diagnostics.Eventing.Reader.EventLogSessionSystem.Diagnostics.Eventing.Reader.EventLogWatcherSystem.Diagnostics.Eventing.Reader.EventLogWatcherSystem.Diagnostics.Eventing.Reader.EventLogWatcherSystem.Diagnostics.Eventing.Reader.EventLogWatcherSystem.Diagnostics.Eventing.Reader.EventRecordSystem.Diagnostics.Eventing.Reader.EventRecordSystem.Diagnostics.Eventing.Reader.EventRecordSystem.Diagnostics.Eventing.Reader.EventRecordSystem.Diagnostics.Eventing.Reader.ProviderMetadataSystem.Diagnostics.Eventing.Reader.ProviderMetadataSystem.Diagnostics.Eventing.Reader.ProviderMetadataSystem.Diagnostics.Eventing.Reader.ProviderMetadataSystem.Diagnostics.PerformanceData.CounterSetSystem.Diagnostics.PerformanceData.CounterSetSystem.Diagnostics.PerformanceData.CounterSetSystem.Diagnostics.PerformanceData.CounterSetSystem.Diagnostics.PerformanceData.CounterSetInstanceSystem.Diagnostics.PerformanceData.CounterSetInstanceSystem.Diagnostics.PerformanceData.CounterSetInstanceSystem.Diagnostics.PerformanceData.CounterSetInstanceSystem.Diagnostics.PerformanceData.CounterSetInstanceCounterDataSetSystem.Diagnostics.PerformanceData.CounterSetInstanceCounterDataSetSystem.Diagnostics.PerformanceData.CounterSetInstanceCounterDataSetSystem.Diagnostics.PerformanceData.CounterSetInstanceCounterDataSetSystem.Diagnostics.SymbolStore.SymBinderSystem.Diagnostics.SymbolStore.SymBinderSystem.Diagnostics.SymbolStore.SymBinderSystem.Diagnostics.SymbolStore.SymBinderSystem.Diagnostics.SymbolStore.SymDocumentSystem.Diagnostics.SymbolStore.SymDocumentSystem.Diagnostics.SymbolStore.SymDocumentSystem.Diagnostics.SymbolStore.SymDocumentSystem.Diagnostics.SymbolStore.SymDocumentWriterSystem.Diagnostics.SymbolStore.SymDocumentWriterSystem.Diagnostics.SymbolStore.SymDocumentWriterSystem.Diagnostics.SymbolStore.SymDocumentWriterSystem.Diagnostics.SymbolStore.SymMethodSystem.Diagnostics.SymbolStore.SymMethodSystem.Diagnostics.SymbolStore.SymMethodSystem.Diagnostics.SymbolStore.SymMethodSystem.Diagnostics.SymbolStore.SymReaderSystem.Diagnostics.SymbolStore.SymReaderSystem.Diagnostics.SymbolStore.SymReaderSystem.Diagnostics.SymbolStore.SymReaderSystem.Diagnostics.SymbolStore.SymScopeSystem.Diagnostics.SymbolStore.SymScopeSystem.Diagnostics.SymbolStore.SymScopeSystem.Diagnostics.SymbolStore.SymScopeSystem.Diagnostics.SymbolStore.SymVariableSystem.Diagnostics.SymbolStore.SymVariableSystem.Diagnostics.SymbolStore.SymVariableSystem.Diagnostics.SymbolStore.SymVariableSystem.Diagnostics.SymbolStore.SymWriterSystem.Diagnostics.SymbolStore.SymWriterSystem.Diagnostics.SymbolStore.SymWriterSystem.Diagnostics.SymbolStore.SymWriterSystem.Diagnostics.Tracing.EventListenerSystem.Diagnostics.Tracing.EventListenerSystem.Diagnostics.Tracing.EventListenerSystem.Diagnostics.Tracing.EventListenerSystem.Diagnostics.Tracing.EventSourceSystem.Diagnostics.Tracing.EventSourceSystem.Diagnostics.Tracing.EventSourceSystem.Diagnostics.Tracing.EventSourceSystem.DirectoryServices.SearchResultCollectionSystem.DirectoryServices.SearchResultCollectionSystem.DirectoryServices.SearchResultCollectionSystem.DirectoryServices.SearchResultCollectionSystem.DirectoryServices.AccountManagement.PrincipalSystem.DirectoryServices.AccountManagement.PrincipalSystem.DirectoryServices.AccountManagement.PrincipalSystem.DirectoryServices.AccountManagement.PrincipalSystem.DirectoryServices.AccountManagement.PrincipalContextSystem.DirectoryServices.AccountManagement.PrincipalContextSystem.DirectoryServices.AccountManagement.PrincipalContextSystem.DirectoryServices.AccountManagement.PrincipalContextSystem.DirectoryServices.AccountManagement.PrincipalSearcherSystem.DirectoryServices.AccountManagement.PrincipalSearcherSystem.DirectoryServices.AccountManagement.PrincipalSearcherSystem.DirectoryServices.AccountManagement.PrincipalSearcherSystem.DirectoryServices.AccountManagement.PrincipalSearchResult<T>System.DirectoryServices.AccountManagement.PrincipalSearchResult<T>System.DirectoryServices.AccountManagement.PrincipalSearchResult<T>System.DirectoryServices.AccountManagement.PrincipalSearchResult<T>System.DirectoryServices.ActiveDirectory.ActiveDirectoryInterSiteTransportSystem.DirectoryServices.ActiveDirectory.ActiveDirectoryInterSiteTransportSystem.DirectoryServices.ActiveDirectory.ActiveDirectoryInterSiteTransportSystem.DirectoryServices.ActiveDirectory.ActiveDirectoryInterSiteTransportSystem.DirectoryServices.ActiveDirectory.ActiveDirectoryPartitionSystem.DirectoryServices.ActiveDirectory.ActiveDirectoryPartitionSystem.DirectoryServices.ActiveDirectory.ActiveDirectoryPartitionSystem.DirectoryServices.ActiveDirectory.ActiveDirectoryPartitionSystem.DirectoryServices.ActiveDirectory.ActiveDirectorySchemaClassSystem.DirectoryServices.ActiveDirectory.ActiveDirectorySchemaClassSystem.DirectoryServices.ActiveDirectory.ActiveDirectorySchemaClassSystem.DirectoryServices.ActiveDirectory.ActiveDirectorySchemaClassSystem.DirectoryServices.ActiveDirectory.ActiveDirectorySchemaPropertySystem.DirectoryServices.ActiveDirectory.ActiveDirectorySchemaPropertySystem.DirectoryServices.ActiveDirectory.ActiveDirectorySchemaPropertySystem.DirectoryServices.ActiveDirectory.ActiveDirectorySchemaPropertySystem.DirectoryServices.ActiveDirectory.ActiveDirectorySiteSystem.DirectoryServices.ActiveDirectory.ActiveDirectorySiteSystem.DirectoryServices.ActiveDirectory.ActiveDirectorySiteSystem.DirectoryServices.ActiveDirectory.ActiveDirectorySiteSystem.DirectoryServices.ActiveDirectory.ActiveDirectorySiteLinkSystem.DirectoryServices.ActiveDirectory.ActiveDirectorySiteLinkSystem.DirectoryServices.ActiveDirectory.ActiveDirectorySiteLinkSystem.DirectoryServices.ActiveDirectory.ActiveDirectorySiteLinkSystem.DirectoryServices.ActiveDirectory.ActiveDirectorySiteLinkBridgeSystem.DirectoryServices.ActiveDirectory.ActiveDirectorySiteLinkBridgeSystem.DirectoryServices.ActiveDirectory.ActiveDirectorySiteLinkBridgeSystem.DirectoryServices.ActiveDirectory.ActiveDirectorySiteLinkBridgeSystem.DirectoryServices.ActiveDirectory.ActiveDirectorySubnetSystem.DirectoryServices.ActiveDirectory.ActiveDirectorySubnetSystem.DirectoryServices.ActiveDirectory.ActiveDirectorySubnetSystem.DirectoryServices.ActiveDirectory.ActiveDirectorySubnetSystem.DirectoryServices.ActiveDirectory.DirectoryServerSystem.DirectoryServices.ActiveDirectory.DirectoryServerSystem.DirectoryServices.ActiveDirectory.DirectoryServerSystem.DirectoryServices.ActiveDirectory.DirectoryServerSystem.DirectoryServices.ActiveDirectory.ForestSystem.DirectoryServices.ActiveDirectory.ForestSystem.DirectoryServices.ActiveDirectory.ForestSystem.DirectoryServices.ActiveDirectory.ForestSystem.DirectoryServices.ActiveDirectory.ReplicationConnectionSystem.DirectoryServices.ActiveDirectory.ReplicationConnectionSystem.DirectoryServices.ActiveDirectory.ReplicationConnectionSystem.DirectoryServices.ActiveDirectory.ReplicationConnectionSystem.DirectoryServices.Protocols.LdapConnectionSystem.DirectoryServices.Protocols.LdapConnectionSystem.DirectoryServices.Protocols.LdapConnectionSystem.DirectoryServices.Protocols.LdapConnectionSystem.Drawing.BufferedGraphicsSystem.Drawing.BufferedGraphicsSystem.Drawing.BufferedGraphicsSystem.Drawing.BufferedGraphicsSystem.Drawing.BufferedGraphicsContextSystem.Drawing.BufferedGraphicsContextSystem.Drawing.BufferedGraphicsContextSystem.Drawing.BufferedGraphicsContextSystem.Drawing.FontConverter.FontNameConverterSystem.Drawing.FontConverter.FontNameConverterSystem.Drawing.FontConverter.FontNameConverterSystem.Drawing.FontConverter.FontNameConverterSystem.Drawing.FontFamilySystem.Drawing.FontFamilySystem.Drawing.FontFamilySystem.Drawing.FontFamilySystem.Drawing.IDeviceContextSystem.Drawing.IDeviceContextSystem.Drawing.IDeviceContextSystem.Drawing.IDeviceContextSystem.Drawing.StringFormatSystem.Drawing.StringFormatSystem.Drawing.StringFormatSystem.Drawing.StringFormatSystem.Drawing.Drawing2D.CustomLineCapSystem.Drawing.Drawing2D.CustomLineCapSystem.Drawing.Drawing2D.CustomLineCapSystem.Drawing.Drawing2D.CustomLineCapSystem.Drawing.Drawing2D.GraphicsPathSystem.Drawing.Drawing2D.GraphicsPathSystem.Drawing.Drawing2D.GraphicsPathSystem.Drawing.Drawing2D.GraphicsPathSystem.Drawing.Drawing2D.GraphicsPathIteratorSystem.Drawing.Drawing2D.GraphicsPathIteratorSystem.Drawing.Drawing2D.GraphicsPathIteratorSystem.Drawing.Drawing2D.GraphicsPathIteratorSystem.Drawing.Drawing2D.MatrixSystem.Drawing.Drawing2D.MatrixSystem.Drawing.Drawing2D.MatrixSystem.Drawing.Drawing2D.MatrixSystem.Drawing.Imaging.EncoderParameterSystem.Drawing.Imaging.EncoderParameterSystem.Drawing.Imaging.EncoderParameterSystem.Drawing.Imaging.EncoderParameterSystem.Drawing.Imaging.EncoderParametersSystem.Drawing.Imaging.EncoderParametersSystem.Drawing.Imaging.EncoderParametersSystem.Drawing.Imaging.EncoderParametersSystem.Drawing.Imaging.ImageAttributesSystem.Drawing.Imaging.ImageAttributesSystem.Drawing.Imaging.ImageAttributesSystem.Drawing.Imaging.ImageAttributesSystem.Drawing.Text.FontCollectionSystem.Drawing.Text.FontCollectionSystem.Drawing.Text.FontCollectionSystem.Drawing.Text.FontCollectionSystem.EnterpriseServices.ServicedComponentSystem.EnterpriseServices.ServicedComponentSystem.EnterpriseServices.ServicedComponentSystem.EnterpriseServices.ServicedComponentSystem.IdentityModel.AsyncResultSystem.IdentityModel.AsyncResultSystem.IdentityModel.AsyncResultSystem.IdentityModel.AsyncResultSystem.IdentityModel.Claims.WindowsClaimSetSystem.IdentityModel.Claims.WindowsClaimSetSystem.IdentityModel.Claims.WindowsClaimSetSystem.IdentityModel.Claims.WindowsClaimSetSystem.IdentityModel.Claims.X509CertificateClaimSetSystem.IdentityModel.Claims.X509CertificateClaimSetSystem.IdentityModel.Claims.X509CertificateClaimSetSystem.IdentityModel.Claims.X509CertificateClaimSetSystem.IdentityModel.Selectors.X509SecurityTokenProviderSystem.IdentityModel.Selectors.X509SecurityTokenProviderSystem.IdentityModel.Selectors.X509SecurityTokenProviderSystem.IdentityModel.Selectors.X509SecurityTokenProviderSystem.IdentityModel.Tokens.X509SecurityTokenSystem.IdentityModel.Tokens.X509SecurityTokenSystem.IdentityModel.Tokens.X509SecurityTokenSystem.IdentityModel.Tokens.X509SecurityTokenSystem.IO.UnmanagedMemoryAccessorSystem.IO.UnmanagedMemoryAccessorSystem.IO.UnmanagedMemoryAccessorSystem.IO.UnmanagedMemoryAccessorSystem.IO.Compression.BrotliDecoderSystem.IO.Compression.BrotliDecoderSystem.IO.Compression.BrotliDecoderSystem.IO.Compression.BrotliDecoderSystem.IO.Compression.BrotliEncoderSystem.IO.Compression.BrotliEncoderSystem.IO.Compression.BrotliEncoderSystem.IO.Compression.BrotliEncoderSystem.IO.Compression.ZipArchiveSystem.IO.Compression.ZipArchiveSystem.IO.Compression.ZipArchiveSystem.IO.Compression.ZipArchiveSystem.IO.IsolatedStorage.IsolatedStorageFileSystem.IO.IsolatedStorage.IsolatedStorageFileSystem.IO.IsolatedStorage.IsolatedStorageFileSystem.IO.IsolatedStorage.IsolatedStorageFileSystem.IO.Log.FileRecordSequenceSystem.IO.Log.FileRecordSequenceSystem.IO.Log.FileRecordSequenceSystem.IO.Log.FileRecordSequenceSystem.IO.Log.IRecordSequenceSystem.IO.Log.IRecordSequenceSystem.IO.Log.IRecordSequenceSystem.IO.Log.IRecordSequenceSystem.IO.Log.LogRecordSequenceSystem.IO.Log.LogRecordSequenceSystem.IO.Log.LogRecordSequenceSystem.IO.Log.LogRecordSequenceSystem.IO.MemoryMappedFiles.MemoryMappedFileSystem.IO.MemoryMappedFiles.MemoryMappedFileSystem.IO.MemoryMappedFiles.MemoryMappedFileSystem.IO.MemoryMappedFiles.MemoryMappedFileSystem.IO.Packaging.EncryptedPackageEnvelopeSystem.IO.Packaging.EncryptedPackageEnvelopeSystem.IO.Packaging.EncryptedPackageEnvelopeSystem.IO.Packaging.EncryptedPackageEnvelopeSystem.IO.Packaging.PackageSystem.IO.Packaging.PackageSystem.IO.Packaging.PackageSystem.IO.Packaging.PackageSystem.IO.Packaging.PackagePropertiesSystem.IO.Packaging.PackagePropertiesSystem.IO.Packaging.PackagePropertiesSystem.IO.Packaging.PackagePropertiesSystem.Management.ManagementObjectCollection.ManagementObjectEnumeratorSystem.Management.ManagementObjectCollection.ManagementObjectEnumeratorSystem.Management.ManagementObjectCollection.ManagementObjectEnumeratorSystem.Management.ManagementObjectCollection.ManagementObjectEnumeratorSystem.Management.ManagementObjectCollectionSystem.Management.ManagementObjectCollectionSystem.Management.ManagementObjectCollectionSystem.Management.ManagementObjectCollectionSystem.Messaging.MessageEnumeratorSystem.Messaging.MessageEnumeratorSystem.Messaging.MessageEnumeratorSystem.Messaging.MessageEnumeratorSystem.Messaging.MessageQueueEnumeratorSystem.Messaging.MessageQueueEnumeratorSystem.Messaging.MessageQueueEnumeratorSystem.Messaging.MessageQueueEnumeratorSystem.Messaging.MessageQueueTransactionSystem.Messaging.MessageQueueTransactionSystem.Messaging.MessageQueueTransactionSystem.Messaging.MessageQueueTransactionSystem.Messaging.SecurityContextSystem.Messaging.SecurityContextSystem.Messaging.SecurityContextSystem.Messaging.SecurityContextSystem.Net.HttpListenerResponseSystem.Net.HttpListenerResponseSystem.Net.HttpListenerResponseSystem.Net.HttpListenerResponseSystem.Net.HttpWebResponseSystem.Net.HttpWebResponseSystem.Net.HttpWebResponseSystem.Net.HttpWebResponseSystem.Net.Http.HttpContentSystem.Net.Http.HttpContentSystem.Net.Http.HttpContentSystem.Net.Http.HttpContentSystem.Net.Http.HttpMessageHandlerSystem.Net.Http.HttpMessageHandlerSystem.Net.Http.HttpMessageHandlerSystem.Net.Http.HttpMessageHandlerSystem.Net.Http.HttpMessageInvokerSystem.Net.Http.HttpMessageInvokerSystem.Net.Http.HttpMessageInvokerSystem.Net.Http.HttpMessageInvokerSystem.Net.Http.HttpRequestMessageSystem.Net.Http.HttpRequestMessageSystem.Net.Http.HttpRequestMessageSystem.Net.Http.HttpRequestMessageSystem.Net.Http.HttpResponseMessageSystem.Net.Http.HttpResponseMessageSystem.Net.Http.HttpResponseMessageSystem.Net.Http.HttpResponseMessageSystem.Net.Mail.AlternateViewCollectionSystem.Net.Mail.AlternateViewCollectionSystem.Net.Mail.AlternateViewCollectionSystem.Net.Mail.AlternateViewCollectionSystem.Net.Mail.AttachmentBaseSystem.Net.Mail.AttachmentBaseSystem.Net.Mail.AttachmentBaseSystem.Net.Mail.AttachmentBaseSystem.Net.Mail.AttachmentCollectionSystem.Net.Mail.AttachmentCollectionSystem.Net.Mail.AttachmentCollectionSystem.Net.Mail.AttachmentCollectionSystem.Net.Mail.LinkedResourceCollectionSystem.Net.Mail.LinkedResourceCollectionSystem.Net.Mail.LinkedResourceCollectionSystem.Net.Mail.LinkedResourceCollectionSystem.Net.Mail.MailMessageSystem.Net.Mail.MailMessageSystem.Net.Mail.MailMessageSystem.Net.Mail.MailMessageSystem.Net.Mail.SmtpClientSystem.Net.Mail.SmtpClientSystem.Net.Mail.SmtpClientSystem.Net.Mail.SmtpClientSystem.Net.NetworkInformation.PingSystem.Net.NetworkInformation.PingSystem.Net.NetworkInformation.PingSystem.Net.NetworkInformation.PingSystem.Net.PeerToPeer.PeerNameRegistrationSystem.Net.PeerToPeer.PeerNameRegistrationSystem.Net.PeerToPeer.PeerNameRegistrationSystem.Net.PeerToPeer.PeerNameRegistrationSystem.Net.PeerToPeer.Collaboration.ContactManagerSystem.Net.PeerToPeer.Collaboration.ContactManagerSystem.Net.PeerToPeer.Collaboration.ContactManagerSystem.Net.PeerToPeer.Collaboration.ContactManagerSystem.Net.PeerToPeer.Collaboration.PeerSystem.Net.PeerToPeer.Collaboration.PeerSystem.Net.PeerToPeer.Collaboration.PeerSystem.Net.PeerToPeer.Collaboration.PeerSystem.Net.PeerToPeer.Collaboration.PeerApplicationSystem.Net.PeerToPeer.Collaboration.PeerApplicationSystem.Net.PeerToPeer.Collaboration.PeerApplicationSystem.Net.PeerToPeer.Collaboration.PeerApplicationSystem.Net.PeerToPeer.Collaboration.PeerEndPointSystem.Net.PeerToPeer.Collaboration.PeerEndPointSystem.Net.PeerToPeer.Collaboration.PeerEndPointSystem.Net.PeerToPeer.Collaboration.PeerEndPointSystem.Net.PeerToPeer.Collaboration.PeerObjectSystem.Net.PeerToPeer.Collaboration.PeerObjectSystem.Net.PeerToPeer.Collaboration.PeerObjectSystem.Net.PeerToPeer.Collaboration.PeerObjectSystem.Net.Security.SslStreamSystem.Net.Security.SslStreamSystem.Net.Security.SslStreamSystem.Net.Security.SslStreamSystem.Net.Sockets.SocketSystem.Net.Sockets.SocketSystem.Net.Sockets.SocketSystem.Net.Sockets.SocketSystem.Net.Sockets.SocketAsyncEventArgsSystem.Net.Sockets.SocketAsyncEventArgsSystem.Net.Sockets.SocketAsyncEventArgsSystem.Net.Sockets.SocketAsyncEventArgsSystem.Net.Sockets.TcpClientSystem.Net.Sockets.TcpClientSystem.Net.Sockets.TcpClientSystem.Net.Sockets.TcpClientSystem.Net.Sockets.UdpAnySourceMulticastClientSystem.Net.Sockets.UdpAnySourceMulticastClientSystem.Net.Sockets.UdpAnySourceMulticastClientSystem.Net.Sockets.UdpAnySourceMulticastClientSystem.Net.Sockets.UdpClientSystem.Net.Sockets.UdpClientSystem.Net.Sockets.UdpClientSystem.Net.Sockets.UdpClientSystem.Net.Sockets.UdpSingleSourceMulticastClientSystem.Net.Sockets.UdpSingleSourceMulticastClientSystem.Net.Sockets.UdpSingleSourceMulticastClientSystem.Net.Sockets.UdpSingleSourceMulticastClientSystem.Net.WebSockets.ClientWebSocketSystem.Net.WebSockets.ClientWebSocketSystem.Net.WebSockets.ClientWebSocketSystem.Net.WebSockets.ClientWebSocketSystem.Net.WebSockets.WebSocketSystem.Net.WebSockets.WebSocketSystem.Net.WebSockets.WebSocketSystem.Net.WebSockets.WebSocketSystem.Printing.PrintJobInfoCollectionSystem.Printing.PrintJobInfoCollectionSystem.Printing.PrintJobInfoCollectionSystem.Printing.PrintJobInfoCollectionSystem.Printing.PrintQueueCollectionSystem.Printing.PrintQueueCollectionSystem.Printing.PrintQueueCollectionSystem.Printing.PrintQueueCollectionSystem.Printing.PrintSystemObjectSystem.Printing.PrintSystemObjectSystem.Printing.PrintSystemObjectSystem.Printing.PrintSystemObjectSystem.Printing.PrintSystemObjectPropertiesChangedEventArgsSystem.Printing.PrintSystemObjectPropertiesChangedEventArgsSystem.Printing.PrintSystemObjectPropertiesChangedEventArgsSystem.Printing.PrintSystemObjectPropertiesChangedEventArgsSystem.Printing.PrintSystemObjectPropertyChangedEventArgsSystem.Printing.PrintSystemObjectPropertyChangedEventArgsSystem.Printing.PrintSystemObjectPropertyChangedEventArgsSystem.Printing.PrintSystemObjectPropertyChangedEventArgsSystem.Printing.PrintSystemObjectsSystem.Printing.PrintSystemObjectsSystem.Printing.PrintSystemObjectsSystem.Printing.PrintSystemObjectsSystem.Printing.IndexedProperties.PrintPropertySystem.Printing.IndexedProperties.PrintPropertySystem.Printing.IndexedProperties.PrintPropertySystem.Printing.IndexedProperties.PrintPropertySystem.Printing.IndexedProperties.PrintPropertyDictionarySystem.Printing.IndexedProperties.PrintPropertyDictionarySystem.Printing.IndexedProperties.PrintPropertyDictionarySystem.Printing.IndexedProperties.PrintPropertyDictionarySystem.Printing.Interop.PrintTicketConverterSystem.Printing.Interop.PrintTicketConverterSystem.Printing.Interop.PrintTicketConverterSystem.Printing.Interop.PrintTicketConverterSystem.Reflection.Metadata.MetadataReaderProviderSystem.Reflection.Metadata.MetadataReaderProviderSystem.Reflection.Metadata.MetadataReaderProviderSystem.Reflection.Metadata.MetadataReaderProviderSystem.Reflection.PortableExecutable.PEReaderSystem.Reflection.PortableExecutable.PEReaderSystem.Reflection.PortableExecutable.PEReaderSystem.Reflection.PortableExecutable.PEReaderSystem.Resources.IResourceReaderSystem.Resources.IResourceReaderSystem.Resources.IResourceReaderSystem.Resources.IResourceReaderSystem.Resources.IResourceWriterSystem.Resources.IResourceWriterSystem.Resources.IResourceWriterSystem.Resources.IResourceWriterSystem.Resources.ResourceReaderSystem.Resources.ResourceReaderSystem.Resources.ResourceReaderSystem.Resources.ResourceReaderSystem.Resources.ResourceSetSystem.Resources.ResourceSetSystem.Resources.ResourceSetSystem.Resources.ResourceSetSystem.Resources.ResourceWriterSystem.Resources.ResourceWriterSystem.Resources.ResourceWriterSystem.Resources.ResourceWriterSystem.Resources.ResXResourceReaderSystem.Resources.ResXResourceReaderSystem.Resources.ResXResourceReaderSystem.Resources.ResXResourceReaderSystem.Resources.ResXResourceWriterSystem.Resources.ResXResourceWriterSystem.Resources.ResXResourceWriterSystem.Resources.ResXResourceWriterSystem.Runtime.MemoryFailPointSystem.Runtime.MemoryFailPointSystem.Runtime.MemoryFailPointSystem.Runtime.MemoryFailPointSystem.Runtime.Caching.ChangeMonitorSystem.Runtime.Caching.ChangeMonitorSystem.Runtime.Caching.ChangeMonitorSystem.Runtime.Caching.ChangeMonitorSystem.Runtime.Caching.MemoryCacheSystem.Runtime.Caching.MemoryCacheSystem.Runtime.Caching.MemoryCacheSystem.Runtime.Caching.MemoryCacheSystem.Runtime.InteropServices.CriticalHandleSystem.Runtime.InteropServices.CriticalHandleSystem.Runtime.InteropServices.CriticalHandleSystem.Runtime.InteropServices.CriticalHandleSystem.Runtime.InteropServices.SafeBufferSystem.Runtime.InteropServices.SafeBufferSystem.Runtime.InteropServices.SafeBufferSystem.Runtime.InteropServices.SafeBufferSystem.Runtime.InteropServices.SafeHandleSystem.Runtime.InteropServices.SafeHandleSystem.Runtime.InteropServices.SafeHandleSystem.Runtime.InteropServices.SafeHandleSystem.Security.SecureStringSystem.Security.SecureStringSystem.Security.SecureStringSystem.Security.SecureStringSystem.Security.SecurityContextSystem.Security.SecurityContextSystem.Security.SecurityContextSystem.Security.SecurityContextSystem.Security.Cryptography.AsymmetricAlgorithmSystem.Security.Cryptography.AsymmetricAlgorithmSystem.Security.Cryptography.AsymmetricAlgorithmSystem.Security.Cryptography.AsymmetricAlgorithmSystem.Security.Cryptography.CngKeySystem.Security.Cryptography.CngKeySystem.Security.Cryptography.CngKeySystem.Security.Cryptography.CngKeySystem.Security.Cryptography.CryptoAPITransformSystem.Security.Cryptography.CryptoAPITransformSystem.Security.Cryptography.CryptoAPITransformSystem.Security.Cryptography.CryptoAPITransformSystem.Security.Cryptography.CryptoStreamSystem.Security.Cryptography.CryptoStreamSystem.Security.Cryptography.CryptoStreamSystem.Security.Cryptography.CryptoStreamSystem.Security.Cryptography.DeriveBytesSystem.Security.Cryptography.DeriveBytesSystem.Security.Cryptography.DeriveBytesSystem.Security.Cryptography.DeriveBytesSystem.Security.Cryptography.ECDiffieHellmanPublicKeySystem.Security.Cryptography.ECDiffieHellmanPublicKeySystem.Security.Cryptography.ECDiffieHellmanPublicKeySystem.Security.Cryptography.ECDiffieHellmanPublicKeySystem.Security.Cryptography.FromBase64TransformSystem.Security.Cryptography.FromBase64TransformSystem.Security.Cryptography.FromBase64TransformSystem.Security.Cryptography.FromBase64TransformSystem.Security.Cryptography.HashAlgorithmSystem.Security.Cryptography.HashAlgorithmSystem.Security.Cryptography.HashAlgorithmSystem.Security.Cryptography.HashAlgorithmSystem.Security.Cryptography.ICryptoTransformSystem.Security.Cryptography.ICryptoTransformSystem.Security.Cryptography.ICryptoTransformSystem.Security.Cryptography.ICryptoTransformSystem.Security.Cryptography.IncrementalHashSystem.Security.Cryptography.IncrementalHashSystem.Security.Cryptography.IncrementalHashSystem.Security.Cryptography.IncrementalHashSystem.Security.Cryptography.RandomNumberGeneratorSystem.Security.Cryptography.RandomNumberGeneratorSystem.Security.Cryptography.RandomNumberGeneratorSystem.Security.Cryptography.RandomNumberGeneratorSystem.Security.Cryptography.RijndaelManagedTransformSystem.Security.Cryptography.RijndaelManagedTransformSystem.Security.Cryptography.RijndaelManagedTransformSystem.Security.Cryptography.RijndaelManagedTransformSystem.Security.Cryptography.SymmetricAlgorithmSystem.Security.Cryptography.SymmetricAlgorithmSystem.Security.Cryptography.SymmetricAlgorithmSystem.Security.Cryptography.SymmetricAlgorithmSystem.Security.Cryptography.ToBase64TransformSystem.Security.Cryptography.ToBase64TransformSystem.Security.Cryptography.ToBase64TransformSystem.Security.Cryptography.ToBase64TransformSystem.Security.Cryptography.AesCcmSystem.Security.Cryptography.AesCcmSystem.Security.Cryptography.AesCcmSystem.Security.Cryptography.AesCcmSystem.Security.Cryptography.AesGcmSystem.Security.Cryptography.AesGcmSystem.Security.Cryptography.AesGcmSystem.Security.Cryptography.AesGcmSystem.Security.Cryptography.X509Certificates.X509CertificateSystem.Security.Cryptography.X509Certificates.X509CertificateSystem.Security.Cryptography.X509Certificates.X509CertificateSystem.Security.Cryptography.X509Certificates.X509CertificateSystem.Security.Cryptography.X509Certificates.X509ChainSystem.Security.Cryptography.X509Certificates.X509ChainSystem.Security.Cryptography.X509Certificates.X509ChainSystem.Security.Cryptography.X509Certificates.X509ChainSystem.Security.Cryptography.X509Certificates.X509StoreSystem.Security.Cryptography.X509Certificates.X509StoreSystem.Security.Cryptography.X509Certificates.X509StoreSystem.Security.Cryptography.X509Certificates.X509StoreSystem.Security.Principal.WindowsIdentitySystem.Security.Principal.WindowsIdentitySystem.Security.Principal.WindowsIdentitySystem.Security.Principal.WindowsIdentitySystem.Security.Principal.WindowsImpersonationContextSystem.Security.Principal.WindowsImpersonationContextSystem.Security.Principal.WindowsImpersonationContextSystem.Security.Principal.WindowsImpersonationContextSystem.Security.RightsManagement.CryptoProviderSystem.Security.RightsManagement.CryptoProviderSystem.Security.RightsManagement.CryptoProviderSystem.Security.RightsManagement.CryptoProviderSystem.Security.RightsManagement.SecureEnvironmentSystem.Security.RightsManagement.SecureEnvironmentSystem.Security.RightsManagement.SecureEnvironmentSystem.Security.RightsManagement.SecureEnvironmentSystem.ServiceModel.ChannelFactorySystem.ServiceModel.ChannelFactorySystem.ServiceModel.ChannelFactorySystem.ServiceModel.ChannelFactorySystem.ServiceModel.ClientBase<TChannel>.ChannelBase<T>System.ServiceModel.ClientBase<TChannel>.ChannelBase<T>System.ServiceModel.ClientBase<TChannel>.ChannelBase<T>System.ServiceModel.ClientBase<TChannel>.ChannelBase<T>System.ServiceModel.ClientBase<TChannel>System.ServiceModel.ClientBase<TChannel>System.ServiceModel.ClientBase<TChannel>System.ServiceModel.ClientBase<TChannel>System.ServiceModel.IClientChannelSystem.ServiceModel.IClientChannelSystem.ServiceModel.IClientChannelSystem.ServiceModel.IClientChannelSystem.ServiceModel.OperationContextScopeSystem.ServiceModel.OperationContextScopeSystem.ServiceModel.OperationContextScopeSystem.ServiceModel.OperationContextScopeSystem.ServiceModel.ServiceHostBaseSystem.ServiceModel.ServiceHostBaseSystem.ServiceModel.ServiceHostBaseSystem.ServiceModel.ServiceHostBaseSystem.ServiceModel.Activities.SendMessageChannelCacheSystem.ServiceModel.Activities.SendMessageChannelCacheSystem.ServiceModel.Activities.SendMessageChannelCacheSystem.ServiceModel.Activities.SendMessageChannelCacheSystem.ServiceModel.Channels.MessageSystem.ServiceModel.Channels.MessageSystem.ServiceModel.Channels.MessageSystem.ServiceModel.Channels.MessageSystem.ServiceModel.Channels.MessageBufferSystem.ServiceModel.Channels.MessageBufferSystem.ServiceModel.Channels.MessageBufferSystem.ServiceModel.Channels.MessageBufferSystem.ServiceModel.Channels.MessagePropertiesSystem.ServiceModel.Channels.MessagePropertiesSystem.ServiceModel.Channels.MessagePropertiesSystem.ServiceModel.Channels.MessagePropertiesSystem.ServiceModel.Channels.RequestContextSystem.ServiceModel.Channels.RequestContextSystem.ServiceModel.Channels.RequestContextSystem.ServiceModel.Channels.RequestContextSystem.ServiceModel.Discovery.AnnouncementClientSystem.ServiceModel.Discovery.AnnouncementClientSystem.ServiceModel.Discovery.AnnouncementClientSystem.ServiceModel.Discovery.AnnouncementClientSystem.ServiceModel.Discovery.DiscoveryClientSystem.ServiceModel.Discovery.DiscoveryClientSystem.ServiceModel.Discovery.DiscoveryClientSystem.ServiceModel.Discovery.DiscoveryClientSystem.ServiceModel.Dispatcher.XPathResultSystem.ServiceModel.Dispatcher.XPathResultSystem.ServiceModel.Dispatcher.XPathResultSystem.ServiceModel.Dispatcher.XPathResultSystem.ServiceModel.Routing.RoutingServiceSystem.ServiceModel.Routing.RoutingServiceSystem.ServiceModel.Routing.RoutingServiceSystem.ServiceModel.Routing.RoutingServiceSystem.ServiceModel.Security.SecurityMessagePropertySystem.ServiceModel.Security.SecurityMessagePropertySystem.ServiceModel.Security.SecurityMessagePropertySystem.ServiceModel.Security.SecurityMessagePropertySystem.Speech.Recognition.RecognizerInfoSystem.Speech.Recognition.RecognizerInfoSystem.Speech.Recognition.RecognizerInfoSystem.Speech.Recognition.RecognizerInfoSystem.Speech.Recognition.SpeechRecognitionEngineSystem.Speech.Recognition.SpeechRecognitionEngineSystem.Speech.Recognition.SpeechRecognitionEngineSystem.Speech.Recognition.SpeechRecognitionEngineSystem.Speech.Recognition.SpeechRecognizerSystem.Speech.Recognition.SpeechRecognizerSystem.Speech.Recognition.SpeechRecognizerSystem.Speech.Recognition.SpeechRecognizerSystem.Speech.Synthesis.SpeechSynthesizerSystem.Speech.Synthesis.SpeechSynthesizerSystem.Speech.Synthesis.SpeechSynthesizerSystem.Speech.Synthesis.SpeechSynthesizerSystem.Text.StringRuneEnumeratorSystem.Text.StringRuneEnumeratorSystem.Text.StringRuneEnumeratorSystem.Text.StringRuneEnumeratorSystem.Text.Json.JsonDocumentSystem.Text.Json.JsonDocumentSystem.Text.Json.JsonDocumentSystem.Text.Json.JsonDocumentSystem.Text.Json.JsonElement.ArrayEnumeratorSystem.Text.Json.JsonElement.ArrayEnumeratorSystem.Text.Json.JsonElement.ArrayEnumeratorSystem.Text.Json.JsonElement.ArrayEnumeratorSystem.Text.Json.JsonElement.ObjectEnumeratorSystem.Text.Json.JsonElement.ObjectEnumeratorSystem.Text.Json.JsonElement.ObjectEnumeratorSystem.Text.Json.JsonElement.ObjectEnumeratorSystem.Threading.AsyncFlowControlSystem.Threading.AsyncFlowControlSystem.Threading.AsyncFlowControlSystem.Threading.AsyncFlowControlSystem.Threading.CancellationTokenRegistrationSystem.Threading.CancellationTokenRegistrationSystem.Threading.CancellationTokenRegistrationSystem.Threading.CancellationTokenRegistrationSystem.Threading.CancellationTokenSourceSystem.Threading.CancellationTokenSourceSystem.Threading.CancellationTokenSourceSystem.Threading.CancellationTokenSourceSystem.Threading.CountdownEventSystem.Threading.CountdownEventSystem.Threading.CountdownEventSystem.Threading.CountdownEventSystem.Threading.ExecutionContextSystem.Threading.ExecutionContextSystem.Threading.ExecutionContextSystem.Threading.ExecutionContextSystem.Threading.HostExecutionContextSystem.Threading.HostExecutionContextSystem.Threading.HostExecutionContextSystem.Threading.HostExecutionContextSystem.Threading.ManualResetEventSlimSystem.Threading.ManualResetEventSlimSystem.Threading.ManualResetEventSlimSystem.Threading.ManualResetEventSlimSystem.Threading.PreAllocatedOverlappedSystem.Threading.PreAllocatedOverlappedSystem.Threading.PreAllocatedOverlappedSystem.Threading.PreAllocatedOverlappedSystem.Threading.ReaderWriterLockSlimSystem.Threading.ReaderWriterLockSlimSystem.Threading.ReaderWriterLockSlimSystem.Threading.ReaderWriterLockSlimSystem.Threading.SemaphoreSlimSystem.Threading.SemaphoreSlimSystem.Threading.SemaphoreSlimSystem.Threading.SemaphoreSlimSystem.Threading.ThreadLocal<T>System.Threading.ThreadLocal<T>System.Threading.ThreadLocal<T>System.Threading.ThreadLocal<T>System.Threading.ThreadPoolBoundHandleSystem.Threading.ThreadPoolBoundHandleSystem.Threading.ThreadPoolBoundHandleSystem.Threading.ThreadPoolBoundHandleSystem.Threading.WaitHandleSystem.Threading.WaitHandleSystem.Threading.WaitHandleSystem.Threading.WaitHandleSystem.Threading.Tasks.TaskSystem.Threading.Tasks.TaskSystem.Threading.Tasks.TaskSystem.Threading.Tasks.TaskSystem.Transactions.CommittableTransactionSystem.Transactions.CommittableTransactionSystem.Transactions.CommittableTransactionSystem.Transactions.CommittableTransactionSystem.Transactions.TransactionSystem.Transactions.TransactionSystem.Transactions.TransactionSystem.Transactions.TransactionSystem.Transactions.TransactionScopeSystem.Transactions.TransactionScopeSystem.Transactions.TransactionScopeSystem.Transactions.TransactionScopeSystem.Web.HttpApplicationSystem.Web.HttpApplicationSystem.Web.HttpApplicationSystem.Web.HttpApplicationSystem.Web.XmlSiteMapProviderSystem.Web.XmlSiteMapProviderSystem.Web.XmlSiteMapProviderSystem.Web.XmlSiteMapProviderSystem.Web.Caching.CacheDependencySystem.Web.Caching.CacheDependencySystem.Web.Caching.CacheDependencySystem.Web.Caching.CacheDependencySystem.Web.Caching.CacheStoreProviderSystem.Web.Caching.CacheStoreProviderSystem.Web.Caching.CacheStoreProviderSystem.Web.Caching.CacheStoreProviderSystem.Web.ClientServices.ClientFormsIdentitySystem.Web.ClientServices.ClientFormsIdentitySystem.Web.ClientServices.ClientFormsIdentitySystem.Web.ClientServices.ClientFormsIdentitySystem.Web.Compilation.ClientBuildManagerSystem.Web.Compilation.ClientBuildManagerSystem.Web.Compilation.ClientBuildManagerSystem.Web.Compilation.ClientBuildManagerSystem.Web.Compilation.IAssemblyPostProcessorSystem.Web.Compilation.IAssemblyPostProcessorSystem.Web.Compilation.IAssemblyPostProcessorSystem.Web.Compilation.IAssemblyPostProcessorSystem.Web.Hosting.AspNetMemoryMonitorSystem.Web.Hosting.AspNetMemoryMonitorSystem.Web.Hosting.AspNetMemoryMonitorSystem.Web.Hosting.AspNetMemoryMonitorSystem.Web.Hosting.IApplicationMonitorSystem.Web.Hosting.IApplicationMonitorSystem.Web.Hosting.IApplicationMonitorSystem.Web.Hosting.IApplicationMonitorSystem.Web.Security.PassportIdentitySystem.Web.Security.PassportIdentitySystem.Web.Security.PassportIdentitySystem.Web.Security.PassportIdentitySystem.Web.Services.Description.BasicProfileViolationEnumeratorSystem.Web.Services.Description.BasicProfileViolationEnumeratorSystem.Web.Services.Description.BasicProfileViolationEnumeratorSystem.Web.Services.Description.BasicProfileViolationEnumeratorSystem.Web.UI.DataVisualization.Charting.ChartElementSystem.Web.UI.DataVisualization.Charting.ChartElementSystem.Web.UI.DataVisualization.Charting.ChartElementSystem.Web.UI.DataVisualization.Charting.ChartElementSystem.Web.UI.DataVisualization.Charting.ChartElementCollection<T>System.Web.UI.DataVisualization.Charting.ChartElementCollection<T>System.Web.UI.DataVisualization.Charting.ChartElementCollection<T>System.Web.UI.DataVisualization.Charting.ChartElementCollection<T>System.Web.UI.DataVisualization.Charting.ChartElementOutlineSystem.Web.UI.DataVisualization.Charting.ChartElementOutlineSystem.Web.UI.DataVisualization.Charting.ChartElementOutlineSystem.Web.UI.DataVisualization.Charting.ChartElementOutlineSystem.Web.UI.DataVisualization.Charting.TitleSystem.Web.UI.DataVisualization.Charting.TitleSystem.Web.UI.DataVisualization.Charting.TitleSystem.Web.UI.DataVisualization.Charting.TitleSystem.Web.UI.Design.IDesignTimeResourceWriterSystem.Web.UI.Design.IDesignTimeResourceWriterSystem.Web.UI.Design.IDesignTimeResourceWriterSystem.Web.UI.Design.IDesignTimeResourceWriterSystem.Web.UI.Design.ITemplateEditingFrameSystem.Web.UI.Design.ITemplateEditingFrameSystem.Web.UI.Design.ITemplateEditingFrameSystem.Web.UI.Design.ITemplateEditingFrameSystem.Web.UI.Design.TemplateEditingServiceSystem.Web.UI.Design.TemplateEditingServiceSystem.Web.UI.Design.TemplateEditingServiceSystem.Web.UI.Design.TemplateEditingServiceSystem.Web.UI.Design.TemplateEditingVerbSystem.Web.UI.Design.TemplateEditingVerbSystem.Web.UI.Design.TemplateEditingVerbSystem.Web.UI.Design.TemplateEditingVerbSystem.Web.UI.Design.WebFormsRootDesignerSystem.Web.UI.Design.WebFormsRootDesignerSystem.Web.UI.Design.WebFormsRootDesignerSystem.Web.UI.Design.WebFormsRootDesignerSystem.Web.UI.WebControls.WebParts.WebPartTrackerSystem.Web.UI.WebControls.WebParts.WebPartTrackerSystem.Web.UI.WebControls.WebParts.WebPartTrackerSystem.Web.UI.WebControls.WebParts.WebPartTrackerSystem.Windows.FreezableCollection<T>.EnumeratorSystem.Windows.FreezableCollection<T>.EnumeratorSystem.Windows.FreezableCollection<T>.EnumeratorSystem.Windows.FreezableCollection<T>.EnumeratorSystem.Windows.TextDecorationCollection.EnumeratorSystem.Windows.TextDecorationCollection.EnumeratorSystem.Windows.TextDecorationCollection.EnumeratorSystem.Windows.TextDecorationCollection.EnumeratorSystem.Windows.Annotations.Storage.AnnotationStoreSystem.Windows.Annotations.Storage.AnnotationStoreSystem.Windows.Annotations.Storage.AnnotationStoreSystem.Windows.Annotations.Storage.AnnotationStoreSystem.Windows.Controls.SoundPlayerActionSystem.Windows.Controls.SoundPlayerActionSystem.Windows.Controls.SoundPlayerActionSystem.Windows.Controls.SoundPlayerActionSystem.Windows.Controls.Primitives.DocumentPageViewSystem.Windows.Controls.Primitives.DocumentPageViewSystem.Windows.Controls.Primitives.DocumentPageViewSystem.Windows.Controls.Primitives.DocumentPageViewSystem.Windows.Documents.DocumentPageSystem.Windows.Documents.DocumentPageSystem.Windows.Documents.DocumentPageSystem.Windows.Documents.DocumentPageSystem.Windows.Forms.ApplicationContextSystem.Windows.Forms.ApplicationContextSystem.Windows.Forms.ApplicationContextSystem.Windows.Forms.ApplicationContextSystem.Windows.Forms.ControlSystem.Windows.Forms.ControlSystem.Windows.Forms.ControlSystem.Windows.Forms.ControlSystem.Windows.Forms.CursorSystem.Windows.Forms.CursorSystem.Windows.Forms.CursorSystem.Windows.Forms.CursorSystem.Windows.Forms.DataGridViewBandSystem.Windows.Forms.DataGridViewBandSystem.Windows.Forms.DataGridViewBandSystem.Windows.Forms.DataGridViewBandSystem.Windows.Forms.DataGridViewCellSystem.Windows.Forms.DataGridViewCellSystem.Windows.Forms.DataGridViewCellSystem.Windows.Forms.DataGridViewCellSystem.Windows.Forms.DataGridViewColumnSystem.Windows.Forms.DataGridViewColumnSystem.Windows.Forms.DataGridViewColumnSystem.Windows.Forms.DataGridViewColumnSystem.Windows.Forms.HtmlHistorySystem.Windows.Forms.HtmlHistorySystem.Windows.Forms.HtmlHistorySystem.Windows.Forms.HtmlHistorySystem.Windows.Forms.IBindableComponentSystem.Windows.Forms.IBindableComponentSystem.Windows.Forms.IBindableComponentSystem.Windows.Forms.IBindableComponentSystem.Windows.Forms.ImageListStreamerSystem.Windows.Forms.ImageListStreamerSystem.Windows.Forms.ImageListStreamerSystem.Windows.Forms.ImageListStreamerSystem.Windows.Forms.PaintEventArgsSystem.Windows.Forms.PaintEventArgsSystem.Windows.Forms.PaintEventArgsSystem.Windows.Forms.PaintEventArgsSystem.Windows.Forms.ScrollableControlSystem.Windows.Forms.ScrollableControlSystem.Windows.Forms.ScrollableControlSystem.Windows.Forms.ScrollableControlSystem.Windows.Forms.ToolStripSystem.Windows.Forms.ToolStripSystem.Windows.Forms.ToolStripSystem.Windows.Forms.ToolStripSystem.Windows.Forms.ToolStripItemSystem.Windows.Forms.ToolStripItemSystem.Windows.Forms.ToolStripItemSystem.Windows.Forms.ToolStripItemSystem.Windows.Forms.ToolStripOverflowSystem.Windows.Forms.ToolStripOverflowSystem.Windows.Forms.ToolStripOverflowSystem.Windows.Forms.ToolStripOverflowSystem.Windows.Forms.ToolStripPanelSystem.Windows.Forms.ToolStripPanelSystem.Windows.Forms.ToolStripPanelSystem.Windows.Forms.ToolStripPanelSystem.Windows.Forms.ToolStripPanelRowSystem.Windows.Forms.ToolStripPanelRowSystem.Windows.Forms.ToolStripPanelRowSystem.Windows.Forms.ToolStripPanelRowSystem.Windows.Forms.WebBrowserSiteBaseSystem.Windows.Forms.WebBrowserSiteBaseSystem.Windows.Forms.WebBrowserSiteBaseSystem.Windows.Forms.WebBrowserSiteBaseSystem.Windows.Forms.WindowsFormsSynchronizationContextSystem.Windows.Forms.WindowsFormsSynchronizationContextSystem.Windows.Forms.WindowsFormsSynchronizationContextSystem.Windows.Forms.WindowsFormsSynchronizationContextSystem.Windows.Forms.DataVisualization.Charting.AxisScrollBarSystem.Windows.Forms.DataVisualization.Charting.AxisScrollBarSystem.Windows.Forms.DataVisualization.Charting.AxisScrollBarSystem.Windows.Forms.DataVisualization.Charting.AxisScrollBarSystem.Windows.Forms.DataVisualization.Charting.ChartSystem.Windows.Forms.DataVisualization.Charting.ChartSystem.Windows.Forms.DataVisualization.Charting.ChartSystem.Windows.Forms.DataVisualization.Charting.ChartSystem.Windows.Forms.DataVisualization.Charting.ChartElementSystem.Windows.Forms.DataVisualization.Charting.ChartElementSystem.Windows.Forms.DataVisualization.Charting.ChartElementSystem.Windows.Forms.DataVisualization.Charting.ChartElementSystem.Windows.Forms.DataVisualization.Charting.ChartElementCollection<T>System.Windows.Forms.DataVisualization.Charting.ChartElementCollection<T>System.Windows.Forms.DataVisualization.Charting.ChartElementCollection<T>System.Windows.Forms.DataVisualization.Charting.ChartElementCollection<T>System.Windows.Forms.DataVisualization.Charting.ChartElementOutlineSystem.Windows.Forms.DataVisualization.Charting.ChartElementOutlineSystem.Windows.Forms.DataVisualization.Charting.ChartElementOutlineSystem.Windows.Forms.DataVisualization.Charting.ChartElementOutlineSystem.Windows.Forms.DataVisualization.Charting.CursorSystem.Windows.Forms.DataVisualization.Charting.CursorSystem.Windows.Forms.DataVisualization.Charting.CursorSystem.Windows.Forms.DataVisualization.Charting.CursorSystem.Windows.Forms.DataVisualization.Charting.PrintingManagerSystem.Windows.Forms.DataVisualization.Charting.PrintingManagerSystem.Windows.Forms.DataVisualization.Charting.PrintingManagerSystem.Windows.Forms.DataVisualization.Charting.PrintingManagerSystem.Windows.Forms.DataVisualization.Charting.TitleSystem.Windows.Forms.DataVisualization.Charting.TitleSystem.Windows.Forms.DataVisualization.Charting.TitleSystem.Windows.Forms.DataVisualization.Charting.TitleSystem.Windows.Forms.Design.ComponentDocumentDesignerSystem.Windows.Forms.Design.ComponentDocumentDesignerSystem.Windows.Forms.Design.ComponentDocumentDesignerSystem.Windows.Forms.Design.ComponentDocumentDesignerSystem.Windows.Forms.Design.DocumentDesignerSystem.Windows.Forms.Design.DocumentDesignerSystem.Windows.Forms.Design.DocumentDesignerSystem.Windows.Forms.Design.DocumentDesignerSystem.Windows.Forms.Design.Behavior.BehaviorServiceSystem.Windows.Forms.Design.Behavior.BehaviorServiceSystem.Windows.Forms.Design.Behavior.BehaviorServiceSystem.Windows.Forms.Design.Behavior.BehaviorServiceSystem.Windows.Ink.GestureRecognizerSystem.Windows.Ink.GestureRecognizerSystem.Windows.Ink.GestureRecognizerSystem.Windows.Ink.GestureRecognizerSystem.Windows.Input.CursorSystem.Windows.Input.CursorSystem.Windows.Input.CursorSystem.Windows.Input.CursorSystem.Windows.Interop.HwndHostSystem.Windows.Interop.HwndHostSystem.Windows.Interop.HwndHostSystem.Windows.Interop.HwndHostSystem.Windows.Interop.HwndSourceSystem.Windows.Interop.HwndSourceSystem.Windows.Interop.HwndSourceSystem.Windows.Interop.HwndSourceSystem.Windows.Markup.Primitives.MarkupWriterSystem.Windows.Markup.Primitives.MarkupWriterSystem.Windows.Markup.Primitives.MarkupWriterSystem.Windows.Markup.Primitives.MarkupWriterSystem.Windows.Media.CompositionTargetSystem.Windows.Media.CompositionTargetSystem.Windows.Media.CompositionTargetSystem.Windows.Media.CompositionTargetSystem.Windows.Media.DoubleCollection.EnumeratorSystem.Windows.Media.DoubleCollection.EnumeratorSystem.Windows.Media.DoubleCollection.EnumeratorSystem.Windows.Media.DoubleCollection.EnumeratorSystem.Windows.Media.DrawingCollection.EnumeratorSystem.Windows.Media.DrawingCollection.EnumeratorSystem.Windows.Media.DrawingCollection.EnumeratorSystem.Windows.Media.DrawingCollection.EnumeratorSystem.Windows.Media.DrawingContextSystem.Windows.Media.DrawingContextSystem.Windows.Media.DrawingContextSystem.Windows.Media.DrawingContextSystem.Windows.Media.GeneralTransformCollection.EnumeratorSystem.Windows.Media.GeneralTransformCollection.EnumeratorSystem.Windows.Media.GeneralTransformCollection.EnumeratorSystem.Windows.Media.GeneralTransformCollection.EnumeratorSystem.Windows.Media.GeometryCollection.EnumeratorSystem.Windows.Media.GeometryCollection.EnumeratorSystem.Windows.Media.GeometryCollection.EnumeratorSystem.Windows.Media.GeometryCollection.EnumeratorSystem.Windows.Media.GradientStopCollection.EnumeratorSystem.Windows.Media.GradientStopCollection.EnumeratorSystem.Windows.Media.GradientStopCollection.EnumeratorSystem.Windows.Media.GradientStopCollection.EnumeratorSystem.Windows.Media.Int32Collection.EnumeratorSystem.Windows.Media.Int32Collection.EnumeratorSystem.Windows.Media.Int32Collection.EnumeratorSystem.Windows.Media.Int32Collection.EnumeratorSystem.Windows.Media.PathFigureCollection.EnumeratorSystem.Windows.Media.PathFigureCollection.EnumeratorSystem.Windows.Media.PathFigureCollection.EnumeratorSystem.Windows.Media.PathFigureCollection.EnumeratorSystem.Windows.Media.PathSegmentCollection.EnumeratorSystem.Windows.Media.PathSegmentCollection.EnumeratorSystem.Windows.Media.PathSegmentCollection.EnumeratorSystem.Windows.Media.PathSegmentCollection.EnumeratorSystem.Windows.Media.PointCollection.EnumeratorSystem.Windows.Media.PointCollection.EnumeratorSystem.Windows.Media.PointCollection.EnumeratorSystem.Windows.Media.PointCollection.EnumeratorSystem.Windows.Media.StreamGeometryContextSystem.Windows.Media.StreamGeometryContextSystem.Windows.Media.StreamGeometryContextSystem.Windows.Media.StreamGeometryContextSystem.Windows.Media.TextEffectCollection.EnumeratorSystem.Windows.Media.TextEffectCollection.EnumeratorSystem.Windows.Media.TextEffectCollection.EnumeratorSystem.Windows.Media.TextEffectCollection.EnumeratorSystem.Windows.Media.TransformCollection.EnumeratorSystem.Windows.Media.TransformCollection.EnumeratorSystem.Windows.Media.TransformCollection.EnumeratorSystem.Windows.Media.TransformCollection.EnumeratorSystem.Windows.Media.VectorCollection.EnumeratorSystem.Windows.Media.VectorCollection.EnumeratorSystem.Windows.Media.VectorCollection.EnumeratorSystem.Windows.Media.VectorCollection.EnumeratorSystem.Windows.Media.Animation.TimelineCollection.EnumeratorSystem.Windows.Media.Animation.TimelineCollection.EnumeratorSystem.Windows.Media.Animation.TimelineCollection.EnumeratorSystem.Windows.Media.Animation.TimelineCollection.EnumeratorSystem.Windows.Media.Effects.BitmapEffectCollection.EnumeratorSystem.Windows.Media.Effects.BitmapEffectCollection.EnumeratorSystem.Windows.Media.Effects.BitmapEffectCollection.EnumeratorSystem.Windows.Media.Effects.BitmapEffectCollection.EnumeratorSystem.Windows.Media.Media3D.GeneralTransform3DCollection.EnumeratorSystem.Windows.Media.Media3D.GeneralTransform3DCollection.EnumeratorSystem.Windows.Media.Media3D.GeneralTransform3DCollection.EnumeratorSystem.Windows.Media.Media3D.GeneralTransform3DCollection.EnumeratorSystem.Windows.Media.Media3D.MaterialCollection.EnumeratorSystem.Windows.Media.Media3D.MaterialCollection.EnumeratorSystem.Windows.Media.Media3D.MaterialCollection.EnumeratorSystem.Windows.Media.Media3D.MaterialCollection.EnumeratorSystem.Windows.Media.Media3D.Model3DCollection.EnumeratorSystem.Windows.Media.Media3D.Model3DCollection.EnumeratorSystem.Windows.Media.Media3D.Model3DCollection.EnumeratorSystem.Windows.Media.Media3D.Model3DCollection.EnumeratorSystem.Windows.Media.Media3D.Point3DCollection.EnumeratorSystem.Windows.Media.Media3D.Point3DCollection.EnumeratorSystem.Windows.Media.Media3D.Point3DCollection.EnumeratorSystem.Windows.Media.Media3D.Point3DCollection.EnumeratorSystem.Windows.Media.Media3D.Transform3DCollection.EnumeratorSystem.Windows.Media.Media3D.Transform3DCollection.EnumeratorSystem.Windows.Media.Media3D.Transform3DCollection.EnumeratorSystem.Windows.Media.Media3D.Transform3DCollection.EnumeratorSystem.Windows.Media.Media3D.Vector3DCollection.EnumeratorSystem.Windows.Media.Media3D.Vector3DCollection.EnumeratorSystem.Windows.Media.Media3D.Vector3DCollection.EnumeratorSystem.Windows.Media.Media3D.Vector3DCollection.EnumeratorSystem.Windows.Media.Media3D.Visual3DCollection.EnumeratorSystem.Windows.Media.Media3D.Visual3DCollection.EnumeratorSystem.Windows.Media.Media3D.Visual3DCollection.EnumeratorSystem.Windows.Media.Media3D.Visual3DCollection.EnumeratorSystem.Windows.Media.TextFormatting.TextFormatterSystem.Windows.Media.TextFormatting.TextFormatterSystem.Windows.Media.TextFormatting.TextFormatterSystem.Windows.Media.TextFormatting.TextFormatterSystem.Windows.Media.TextFormatting.TextLineSystem.Windows.Media.TextFormatting.TextLineSystem.Windows.Media.TextFormatting.TextLineSystem.Windows.Media.TextFormatting.TextLineSystem.Windows.Media.TextFormatting.TextLineBreakSystem.Windows.Media.TextFormatting.TextLineBreakSystem.Windows.Media.TextFormatting.TextLineBreakSystem.Windows.Media.TextFormatting.TextLineBreakSystem.Windows.Threading.DispatcherProcessingDisabledSystem.Windows.Threading.DispatcherProcessingDisabledSystem.Windows.Threading.DispatcherProcessingDisabledSystem.Windows.Threading.DispatcherProcessingDisabledSystem.Windows.Xps.Packaging.XpsDocumentSystem.Windows.Xps.Packaging.XpsDocumentSystem.Windows.Xps.Packaging.XpsDocumentSystem.Windows.Xps.Packaging.XpsDocumentSystem.Windows.Xps.Packaging.XpsResourceSystem.Windows.Xps.Packaging.XpsResourceSystem.Windows.Xps.Packaging.XpsResourceSystem.Windows.Xps.Packaging.XpsResourceSystem.Windows.Xps.Serialization.BasePackagingPolicySystem.Windows.Xps.Serialization.BasePackagingPolicySystem.Windows.Xps.Serialization.BasePackagingPolicySystem.Windows.Xps.Serialization.BasePackagingPolicySystem.Windows.Xps.Serialization.PackageSerializationManagerSystem.Windows.Xps.Serialization.PackageSerializationManagerSystem.Windows.Xps.Serialization.PackageSerializationManagerSystem.Windows.Xps.Serialization.PackageSerializationManagerSystem.Workflow.Activities.ActiveDirectoryRoleSystem.Workflow.Activities.ActiveDirectoryRoleSystem.Workflow.Activities.ActiveDirectoryRoleSystem.Workflow.Activities.ActiveDirectoryRoleSystem.Workflow.ComponentModel.ActivityExecutionContextSystem.Workflow.ComponentModel.ActivityExecutionContextSystem.Workflow.ComponentModel.ActivityExecutionContextSystem.Workflow.ComponentModel.ActivityExecutionContextSystem.Workflow.ComponentModel.DependencyObjectSystem.Workflow.ComponentModel.DependencyObjectSystem.Workflow.ComponentModel.DependencyObjectSystem.Workflow.ComponentModel.DependencyObjectSystem.Workflow.ComponentModel.Compiler.TypeProviderSystem.Workflow.ComponentModel.Compiler.TypeProviderSystem.Workflow.ComponentModel.Compiler.TypeProviderSystem.Workflow.ComponentModel.Compiler.TypeProviderSystem.Workflow.ComponentModel.Design.ActivityDesignerSystem.Workflow.ComponentModel.Design.ActivityDesignerSystem.Workflow.ComponentModel.Design.ActivityDesignerSystem.Workflow.ComponentModel.Design.ActivityDesignerSystem.Workflow.ComponentModel.Design.ConnectorSystem.Workflow.ComponentModel.Design.ConnectorSystem.Workflow.ComponentModel.Design.ConnectorSystem.Workflow.ComponentModel.Design.ConnectorSystem.Workflow.ComponentModel.Design.DesignerThemeSystem.Workflow.ComponentModel.Design.DesignerThemeSystem.Workflow.ComponentModel.Design.DesignerThemeSystem.Workflow.ComponentModel.Design.DesignerThemeSystem.Workflow.ComponentModel.Design.IWorkflowRootDesignerSystem.Workflow.ComponentModel.Design.IWorkflowRootDesignerSystem.Workflow.ComponentModel.Design.IWorkflowRootDesignerSystem.Workflow.ComponentModel.Design.IWorkflowRootDesignerSystem.Workflow.ComponentModel.Design.WorkflowDesignerMessageFilterSystem.Workflow.ComponentModel.Design.WorkflowDesignerMessageFilterSystem.Workflow.ComponentModel.Design.WorkflowDesignerMessageFilterSystem.Workflow.ComponentModel.Design.WorkflowDesignerMessageFilterSystem.Workflow.ComponentModel.Design.WorkflowThemeSystem.Workflow.ComponentModel.Design.WorkflowThemeSystem.Workflow.ComponentModel.Design.WorkflowThemeSystem.Workflow.ComponentModel.Design.WorkflowThemeSystem.Workflow.Runtime.WorkflowRuntimeSystem.Workflow.Runtime.WorkflowRuntimeSystem.Workflow.Runtime.WorkflowRuntimeSystem.Workflow.Runtime.WorkflowRuntime
- Attributi
Esempi
Nell'esempio seguente viene illustrato come creare una classe di risorse che implementa il IDisposable interfaccia.The following example demonstrates how to create a resource class that implements the IDisposable interface.
#using <System.dll>
#using <System.Windows.Forms.dll>
using namespace System;
using namespace System::ComponentModel;
using namespace System::Windows::Forms;
// The following example demonstrates how to create a class that
// implements the IDisposable interface and the IDisposable.Dispose
// method with finalization to clean up unmanaged resources.
//
public ref class MyResource: public IDisposable
{
private:
// Pointer to an external unmanaged resource.
IntPtr handle;
// A managed resource this class uses.
Component^ component;
// Track whether Dispose has been called.
bool disposed;
public:
// The class constructor.
MyResource( IntPtr handle, Component^ component )
{
this->handle = handle;
this->component = component;
disposed = false;
}
// This method is called if the user explicitly disposes of the
// object (by calling the Dispose method in other managed languages,
// or the destructor in C++). The compiler emits as a call to
// GC::SuppressFinalize( this ) for you, so there is no need to
// call it here.
~MyResource()
{
// Dispose of managed resources.
component->~Component();
// Call C++ finalizer to clean up unmanaged resources.
this->!MyResource();
// Mark the class as disposed. This flag allows you to throw an
// exception if a disposed object is accessed.
disposed = true;
}
// Use interop to call the method necessary to clean up the
// unmanaged resource.
//
[System::Runtime::InteropServices::DllImport("Kernel32")]
static Boolean CloseHandle( IntPtr handle );
// The C++ finalizer destructor ensures that unmanaged resources get
// released if the user releases the object without explicitly
// disposing of it.
//
!MyResource()
{
// Call the appropriate methods to clean up unmanaged
// resources here. If disposing is false when Dispose(bool,
// disposing) is called, only the following code is executed.
CloseHandle( handle );
handle = IntPtr::Zero;
}
};
void main()
{
// Insert code here to create and use the MyResource object.
MyResource^ mr = gcnew MyResource((IntPtr) 42, (Component^) gcnew Button());
mr->~MyResource();
}
using System;
using System.ComponentModel;
// The following example demonstrates how to create
// a resource class that implements the IDisposable interface
// and the IDisposable.Dispose method.
public class DisposeExample
{
// A base class that implements IDisposable.
// By implementing IDisposable, you are announcing that
// instances of this type allocate scarce resources.
public class MyResource: IDisposable
{
// Pointer to an external unmanaged resource.
private IntPtr handle;
// Other managed resource this class uses.
private Component component = new Component();
// Track whether Dispose has been called.
private bool disposed = false;
// The class constructor.
public MyResource(IntPtr handle)
{
this.handle = handle;
}
// Implement IDisposable.
// Do not make this method virtual.
// A derived class should not be able to override this method.
public void Dispose()
{
Dispose(true);
// This object will be cleaned up by the Dispose method.
// Therefore, you should call GC.SupressFinalize to
// take this object off the finalization queue
// and prevent finalization code for this object
// from executing a second time.
GC.SuppressFinalize(this);
}
// Dispose(bool disposing) executes in two distinct scenarios.
// If disposing equals true, the method has been called directly
// or indirectly by a user's code. Managed and unmanaged resources
// can be disposed.
// If disposing equals false, the method has been called by the
// runtime from inside the finalizer and you should not reference
// other objects. Only unmanaged resources can be disposed.
protected virtual void Dispose(bool disposing)
{
// Check to see if Dispose has already been called.
if(!this.disposed)
{
// If disposing equals true, dispose all managed
// and unmanaged resources.
if(disposing)
{
// Dispose managed resources.
component.Dispose();
}
// Call the appropriate methods to clean up
// unmanaged resources here.
// If disposing is false,
// only the following code is executed.
CloseHandle(handle);
handle = IntPtr.Zero;
// Note disposing has been done.
disposed = true;
}
}
// Use interop to call the method necessary
// to clean up the unmanaged resource.
[System.Runtime.InteropServices.DllImport("Kernel32")]
private extern static Boolean CloseHandle(IntPtr handle);
// Use C# destructor syntax for finalization code.
// This destructor will run only if the Dispose method
// does not get called.
// It gives your base class the opportunity to finalize.
// Do not provide destructors in types derived from this class.
~MyResource()
{
// Do not re-create Dispose clean-up code here.
// Calling Dispose(false) is optimal in terms of
// readability and maintainability.
Dispose(false);
}
}
public static void Main()
{
// Insert code here to create
// and use the MyResource object.
}
}
Imports System
Imports System.ComponentModel
' The following example demonstrates how to create
' a resource class that implements the IDisposable interface
' and the IDisposable.Dispose method.
Public Class DisposeExample
' A class that implements IDisposable.
' By implementing IDisposable, you are announcing that
' instances of this type allocate scarce resources.
Public Class MyResource
Implements IDisposable
' Pointer to an external unmanaged resource.
Private handle As IntPtr
' Other managed resource this class uses.
Private component As component
' Track whether Dispose has been called.
Private disposed As Boolean = False
' The class constructor.
Public Sub New(ByVal handle As IntPtr)
Me.handle = handle
End Sub
' Implement IDisposable.
' Do not make this method virtual.
' A derived class should not be able to override this method.
Public Overloads Sub Dispose() Implements IDisposable.Dispose
Dispose(True)
' This object will be cleaned up by the Dispose method.
' Therefore, you should call GC.SupressFinalize to
' take this object off the finalization queue
' and prevent finalization code for this object
' from executing a second time.
GC.SuppressFinalize(Me)
End Sub
' Dispose(bool disposing) executes in two distinct scenarios.
' If disposing equals true, the method has been called directly
' or indirectly by a user's code. Managed and unmanaged resources
' can be disposed.
' If disposing equals false, the method has been called by the
' runtime from inside the finalizer and you should not reference
' other objects. Only unmanaged resources can be disposed.
Protected Overridable Overloads Sub Dispose(ByVal disposing As Boolean)
' Check to see if Dispose has already been called.
If Not Me.disposed Then
' If disposing equals true, dispose all managed
' and unmanaged resources.
If disposing Then
' Dispose managed resources.
component.Dispose()
End If
' Call the appropriate methods to clean up
' unmanaged resources here.
' If disposing is false,
' only the following code is executed.
CloseHandle(handle)
handle = IntPtr.Zero
' Note disposing has been done.
disposed = True
End If
End Sub
' Use interop to call the method necessary
' to clean up the unmanaged resource.
<System.Runtime.InteropServices.DllImport("Kernel32")> _
Private Shared Function CloseHandle(ByVal handle As IntPtr) As [Boolean]
End Function
' This finalizer will run only if the Dispose method
' does not get called.
' It gives your base class the opportunity to finalize.
' Do not provide finalize methods in types derived from this class.
Protected Overrides Sub Finalize()
' Do not re-create Dispose clean-up code here.
' Calling Dispose(false) is optimal in terms of
' readability and maintainability.
Dispose(False)
MyBase.Finalize()
End Sub
End Class
Public Shared Sub Main()
' Insert code here to create
' and use the MyResource object.
End Sub
End Class
Commenti
L'uso primario di questa interfaccia è per rilasciare le risorse non gestite.The primary use of this interface is to release unmanaged resources. Il garbage collector rilascia automaticamente la memoria allocata a un oggetto gestito quando tale oggetto non viene più utilizzata.The garbage collector automatically releases the memory allocated to a managed object when that object is no longer used. Non è tuttavia possibile prevedere quando verrà eseguita la garbage collection.However, it is not possible to predict when garbage collection will occur. Inoltre, il garbage collector non è a conoscenza delle risorse non gestite, ad esempio gli handle di finestra o aprire file e flussi.Furthermore, the garbage collector has no knowledge of unmanaged resources such as window handles, or open files and streams.
Usare il Dispose metodo dell'interfaccia rilasciare in modo esplicito le risorse non gestite in combinazione con il garbage collector.Use the Dispose method of this interface to explicitly release unmanaged resources in conjunction with the garbage collector. Il consumer di un oggetto può chiamare questo metodo quando l'oggetto non è più necessario.The consumer of an object can call this method when the object is no longer needed.
Avviso
Si tratta di una modifica di rilievo per aggiungere il IDisposable interfaccia a una classe esistente.It is a breaking change to add the IDisposable interface to an existing class. Perché pre-esistenti i consumer del tipo non è possibile chiamare Dispose, è possibile essere certi che le risorse non gestite utilizzate dal tipo di verranno rilasciate.Because pre-existing consumers of your type cannot call Dispose, you cannot be certain that unmanaged resources held by your type will be released.
Poiché il IDisposable.Dispose implementazione viene chiamata dal consumer di un tipo quando le risorse di proprietà da un'istanza non sono più necessari, è necessario includere sia l'oggetto gestito in un SafeHandle (l'alternativa consigliata) o eseguire l'override Object.Finalizeper liberare le risorse non gestite nel caso in cui il consumer ometta di chiamare Dispose.Because the IDisposable.Dispose implementation is called by the consumer of a type when the resources owned by an instance are no longer needed, you should either wrap the managed object in a SafeHandle (the recommended alternative), or you should override Object.Finalize to free unmanaged resources in the event that the consumer forgets to call Dispose.
Importante
In .NET Framework, il compilatore C++ supporta l'eliminazione deterministica delle risorse e non consente l'implementazione diretta del Dispose (metodo).In the .NET Framework, the C++ compiler supports deterministic disposal of resources and does not allow direct implementation of the Dispose method.
Per informazioni dettagliate su come questa interfaccia e il Object.Finalize metodo, vedere la Garbage Collection e che implementa un metodo Dispose argomenti.For a detailed discussion about how this interface and the Object.Finalize method are used, see the Garbage Collection and Implementing a Dispose Method topics.
Uso di un oggetto che implementa IDisposableUsing an object that implements IDisposable
Se l'app Usa semplicemente un oggetto che implementa il IDisposable interfaccia, è necessario chiamare l'oggetto IDisposable.Dispose implementazione quando si è finito di usarlo.If your app simply uses an object that implements the IDisposable interface, you should call the object's IDisposable.Dispose implementation when you are finished using it. A seconda del linguaggio di programmazione, è possibile procedere in uno dei due modi:Depending on your programming language, you can do this in one of two ways:
Usando un linguaggio di costruire, ad esempio il
using
istruzione in c# e Visual Basic.By using a language construct such as theusing
statement in C# and Visual Basic.Eseguendo il wrapping della chiamata ai IDisposable.Dispose implementazione in una
try
/finally
blocco.By wrapping the call to the IDisposable.Dispose implementation in atry
/finally
block.
Nota
Documentazione per i tipi che implementano IDisposable tenere presente questo fatto e includono un promemoria per chiamare il Dispose implementazione.Documentation for types that implement IDisposable note that fact and include a reminder to call its Dispose implementation.
L'istruzione c# e Visual Basic usandoThe C# and Visual Basic Using statement
Se il linguaggio supporta un costrutto, ad esempio la usando istruzione in c# e il Using istruzione in Visual Basic, è possibile usarlo invece di chiamare in modo esplicito IDisposable.Dispose manualmente.If your language supports a construct such as the using statement in C# and the Using statement in Visual Basic, you can use it instead of explicitly calling IDisposable.Dispose yourself. L'esempio seguente usa questo approccio nella definizione di un WordCount
classe che mantiene le informazioni su un file e il numero di parole in esso.The following example uses this approach in defining a WordCount
class that preserves information about a file and the number of words in it.
using System;
using System.IO;
using System.Text.RegularExpressions;
public class WordCount
{
private String filename = String.Empty;
private int nWords = 0;
private String pattern = @"\b\w+\b";
public WordCount(string filename)
{
if (! File.Exists(filename))
throw new FileNotFoundException("The file does not exist.");
this.filename = filename;
string txt = String.Empty;
using (StreamReader sr = new StreamReader(filename)) {
txt = sr.ReadToEnd();
}
nWords = Regex.Matches(txt, pattern).Count;
}
public string FullName
{ get { return filename; } }
public string Name
{ get { return Path.GetFileName(filename); } }
public int Count
{ get { return nWords; } }
}
Imports System.IO
Imports System.Text.RegularExpressions
Public Class WordCount
Private filename As String
Private nWords As Integer
Private pattern As String = "\b\w+\b"
Public Sub New(filename As String)
If Not File.Exists(filename) Then
Throw New FileNotFoundException("The file does not exist.")
End If
Me.filename = filename
Dim txt As String = String.Empty
Using sr As New StreamReader(filename)
txt = sr.ReadToEnd()
End Using
nWords = Regex.Matches(txt, pattern).Count
End Sub
Public ReadOnly Property FullName As String
Get
Return filename
End Get
End Property
Public ReadOnly Property Name As String
Get
Return Path.GetFileName(filename)
End Get
End Property
Public ReadOnly Property Count As Integer
Get
Return nWords
End Get
End Property
End Class
Il using
istruzione è effettivamente una convenzione sintattica.The using
statement is actually a syntactic convenience. In fase di compilazione, il compilatore di linguaggio implementa il linguaggio intermedio (IL) per un try
/ finally
blocco.At compile time, the language compiler implements the intermediate language (IL) for a try
/finally
block.
Per altre informazioni sul using
istruzione, vedere la istruzione Using o istruzione using argomenti.For more information about the using
statement, see the Using Statement or using Statement topics.
Il blocco Try/FinallyThe Try/Finally block
Se il linguaggio di programmazione non supporta un costrutto, ad esempio la using
istruzione in c# o Visual Basic, oppure se non si vuole usarlo, è possibile chiamare il IDisposable.Dispose implementazione dal finally
blocco di un try
/ finally
istruzione.If your programming language does not support a construct like the using
statement in C# or Visual Basic, or if you prefer not to use it, you can call the IDisposable.Dispose implementation from the finally
block of a try
/finally
statement. Nell'esempio seguente sostituisce la using
bloccare nell'esempio precedente con un try
/ finally
blocco.The following example replaces the using
block in the previous example with a try
/finally
block.
using System;
using System.IO;
using System.Text.RegularExpressions;
public class WordCount
{
private String filename = String.Empty;
private int nWords = 0;
private String pattern = @"\b\w+\b";
public WordCount(string filename)
{
if (! File.Exists(filename))
throw new FileNotFoundException("The file does not exist.");
this.filename = filename;
string txt = String.Empty;
StreamReader sr = null;
try {
sr = new StreamReader(filename);
txt = sr.ReadToEnd();
}
finally {
if (sr != null) sr.Dispose();
}
nWords = Regex.Matches(txt, pattern).Count;
}
public string FullName
{ get { return filename; } }
public string Name
{ get { return Path.GetFileName(filename); } }
public int Count
{ get { return nWords; } }
}
Imports System.IO
Imports System.Text.RegularExpressions
Public Class WordCount
Private filename As String
Private nWords As Integer
Private pattern As String = "\b\w+\b"
Public Sub New(filename As String)
If Not File.Exists(filename) Then
Throw New FileNotFoundException("The file does not exist.")
End If
Me.filename = filename
Dim txt As String = String.Empty
Dim sr As StreamReader = Nothing
Try
sr = New StreamReader(filename)
txt = sr.ReadToEnd()
Finally
If sr IsNot Nothing Then sr.Dispose()
End Try
nWords = Regex.Matches(txt, pattern).Count
End Sub
Public ReadOnly Property FullName As String
Get
Return filename
End Get
End Property
Public ReadOnly Property Name As String
Get
Return Path.GetFileName(filename)
End Get
End Property
Public ReadOnly Property Count As Integer
Get
Return nWords
End Get
End Property
End Class
Per altre informazioni sul try
/ finally
pattern, vedere Try... Catch... Istruzione finally, try-finally, o istruzione try-finally.For more information about the try
/finally
pattern, see Try...Catch...Finally Statement, try-finally, or try-finally Statement.
Implementazione di IDisposableImplementing IDisposable
È consigliabile implementare IDisposable solo se il tipo Usa direttamente le risorse non gestite.You should implement IDisposable only if your type uses unmanaged resources directly. I consumer del tipo in uso è possono chiamare il IDisposable.Dispose implementazione per liberare risorse quando l'istanza non è più necessario.The consumers of your type can call your IDisposable.Dispose implementation to free resources when the instance is no longer needed. Per gestire i casi in cui questi non riescono a chiamare Dispose, è necessario usare una classe derivata da SafeHandle per eseguire il wrapping di risorse non gestite, o si deve eseguire l'override di Object.Finalize metodo per un tipo riferimento.To handle cases in which they fail to call Dispose, you should either use a class derived from SafeHandle to wrap the unmanaged resources, or you should override the Object.Finalize method for a reference type. In entrambi i casi, si utilizza il Dispose metodo per eseguire qualsiasi pulizia necessaria dopo aver usato le risorse non gestite, ad esempio liberare, rilasciare o reimpostare le risorse non gestite.In either case, you use the Dispose method to perform whatever cleanup is necessary after using the unmanaged resources, such as freeing, releasing, or resetting the unmanaged resources.
Importante
Se si sta definendo una classe di base che usa le risorse non gestite e che dispone di oppure potrebbe avere, sottoclassi che devono essere eliminate, è necessario implementare il IDisposable.Dispose metodo e fornire un secondo overload di Dispose
, come illustrato nel prossimo sezione.If you are defining a base class that uses unmanaged resources and that either has, or is likely to have, subclasses that should be disposed, you should implement the IDisposable.Dispose method and provide a second overload of Dispose
, as discussed in the next section.
IDisposable e la gerarchia di ereditarietàIDisposable and the inheritance hierarchy
Una classe di base con sottoclassi eliminabili deve implementare IDisposable come indicato di seguito.A base class with subclasses that should be disposable must implement IDisposable as follows. È consigliabile usare questo modello ogni volta che si implementa IDisposable su qualsiasi tipo che non sia sealed
(NotInheritable
in Visual Basic).You should use this pattern whenever you implement IDisposable on any type that isn't sealed
(NotInheritable
in Visual Basic).
È necessario fornire una pubblica, non virtuale Dispose() metodo e un protetto virtuale
Dispose(Boolean disposing)
(metodo).It should provide one public, non-virtual Dispose() method and a protected virtualDispose(Boolean disposing)
method.Il Dispose() metodo deve chiamare
Dispose(true)
e deve eliminare la finalizzazione per le prestazioni.The Dispose() method must callDispose(true)
and should suppress finalization for performance.Il tipo di base non deve includere alcun finalizzatori.The base type should not include any finalizers.
Nel seguente frammento di codice riflette il modello dispose per le classi di base.The following code fragment reflects the dispose pattern for base classes. Si presuppone che il tipo non esegue l'override di Object.Finalize (metodo).It assumes that your type does not override the Object.Finalize method.
using Microsoft.Win32.SafeHandles;
using System;
using System.Runtime.InteropServices;
class BaseClass : IDisposable
{
// Flag: Has Dispose already been called?
bool disposed = false;
// Instantiate a SafeHandle instance.
SafeHandle handle = new SafeFileHandle(IntPtr.Zero, true);
// Public implementation of Dispose pattern callable by consumers.
public void Dispose()
{
Dispose(true);
GC.SuppressFinalize(this);
}
// Protected implementation of Dispose pattern.
protected virtual void Dispose(bool disposing)
{
if (disposed)
return;
if (disposing) {
handle.Dispose();
// Free any other managed objects here.
//
}
disposed = true;
}
}
Imports Microsoft.Win32.SafeHandles
Imports System.Runtime.InteropServices
Class BaseClass : Implements IDisposable
' Flag: Has Dispose already been called?
Dim disposed As Boolean = False
' Instantiate a SafeHandle instance.
Dim handle As SafeHandle = New SafeFileHandle(IntPtr.Zero, True)
' Public implementation of Dispose pattern callable by consumers.
Public Sub Dispose() _
Implements IDisposable.Dispose
Dispose(True)
GC.SuppressFinalize(Me)
End Sub
' Protected implementation of Dispose pattern.
Protected Overridable Sub Dispose(disposing As Boolean)
If disposed Then Return
If disposing Then
handle.Dispose()
' Free any other managed objects here.
'
End If
disposed = True
End Sub
End Class
Se si esegue l'override di Object.Finalize metodo, la classe deve implementare il modello seguente.If you do override the Object.Finalize method, your class should implement the following pattern.
using System;
class BaseClass : IDisposable
{
// Flag: Has Dispose already been called?
bool disposed = false;
// Public implementation of Dispose pattern callable by consumers.
public void Dispose()
{
Dispose(true);
GC.SuppressFinalize(this);
}
// Protected implementation of Dispose pattern.
protected virtual void Dispose(bool disposing)
{
if (disposed)
return;
if (disposing) {
// Free any other managed objects here.
//
}
// Free any unmanaged objects here.
//
disposed = true;
}
~BaseClass()
{
Dispose(false);
}
}
Class BaseClass : Implements IDisposable
' Flag: Has Dispose already been called?
Dim disposed As Boolean = False
' Public implementation of Dispose pattern callable by consumers.
Public Sub Dispose() _
Implements IDisposable.Dispose
Dispose(True)
GC.SuppressFinalize(Me)
End Sub
' Protected implementation of Dispose pattern.
Protected Overridable Sub Dispose(disposing As Boolean)
If disposed Then Return
If disposing Then
' Free any other managed objects here.
'
End If
' Free any unmanaged objects here.
'
disposed = True
End Sub
Protected Overrides Sub Finalize()
Dispose(False)
End Sub
End Class
Le sottoclassi devono implementare il modello Disposable nel modo seguente:Subclasses should implement the disposable pattern as follows:
Devono eseguire l'override di
Dispose(Boolean)
e chiamare l'implementazioneDispose(Boolean)
della classe di base.They must overrideDispose(Boolean)
and call the base classDispose(Boolean)
implementation.Se necessario, possono fornire un finalizzatore.They can provide a finalizer if needed. Il finalizzatore deve chiamare
Dispose(false)
.The finalizer must callDispose(false)
.
Si noti che le classi derivate non possono implementare il IDisposable dell'interfaccia e non includono un senza parametri Dispose (metodo).Note that derived classes do not themselves implement the IDisposable interface and do not include a parameterless Dispose method. Essi eseguire l'override solo la classe di base Dispose(Boolean)
(metodo).They only override the base class Dispose(Boolean)
method.
Nel seguente frammento di codice riflette il modello dispose per le classi derivate.The following code fragment reflects the dispose pattern for derived classes. Si presuppone che il tipo non esegue l'override di Object.Finalize (metodo).It assumes that your type does not override the Object.Finalize method.
using Microsoft.Win32.SafeHandles;
using System;
using System.Runtime.InteropServices;
class DerivedClass : BaseClass
{
// Flag: Has Dispose already been called?
bool disposed = false;
// Instantiate a SafeHandle instance.
SafeHandle handle = new SafeFileHandle(IntPtr.Zero, true);
// Protected implementation of Dispose pattern.
protected override void Dispose(bool disposing)
{
if (disposed)
return;
if (disposing) {
handle.Dispose();
// Free any other managed objects here.
//
}
// Free any unmanaged objects here.
//
disposed = true;
// Call base class implementation.
base.Dispose(disposing);
}
}
Imports Microsoft.Win32.SafeHandles
Imports System.Runtime.InteropServices
Class DerivedClass : Inherits BaseClass
' Flag: Has Dispose already been called?
Dim disposed As Boolean = False
' Instantiate a SafeHandle instance.
Dim handle As SafeHandle = New SafeFileHandle(IntPtr.Zero, True)
' Protected implementation of Dispose pattern.
Protected Overrides Sub Dispose(disposing As Boolean)
If disposed Then Return
If disposing Then
handle.Dispose()
' Free any other managed objects here.
'
End If
' Free any unmanaged objects here.
'
disposed = True
' Call base class implementation.
MyBase.Dispose(disposing)
End Sub
End Class
Metodi
Dispose() Dispose() Dispose() Dispose() |
Esegue attività definite dall'applicazione, come rilasciare o reimpostare risorse non gestite.Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
Si applica a
Vedi anche
Commenti
I tuoi commenti e suggerimenti sono importanti. Scegli il tipo che preferisci:
Il nostro sistema per i commenti è basato su GitHub Issues. Per altre informazioni, vedi il blog.
Caricamento dei commenti...