System.IDisposable

E697473

System.IDisposable is a .NET interface that defines a standard pattern for releasing unmanaged resources deterministically through its Dispose method.

All labels observed (2)

Label Occurrences
System.IDisposable canonical 15
IDisposable 3

How this entity was disambiguated

Statements (48)

Predicate Object
instanceOf .NET interface ⓘ
interface ⓘ
availableIn .NET 5+ ⓘ
.NET Core ⓘ
.NET Framework ⓘ
Mono ⓘ
Unity .NET profile ⓘ
Xamarin ⓘ
availableSince .NET Framework 1.0 ⓘ
linked to: .NET Framework
CLSCompliant true ⓘ
definedIn .NET ⓘ
definedInAssembly System.Runtime.Extensions.dll ⓘ
System.Runtime.dll ⓘ
mscorlib.dll ⓘ
documentation documented on Microsoft Learn ⓘ
guideline Dispose should be idempotent ⓘ
Dispose should free all held resources ⓘ
Dispose should suppress finalization when appropriate ⓘ
hasAccessibility public ⓘ
hasReturnType System.Void for Dispose ⓘ
isAbstract true ⓘ
isGeneric false ⓘ
isPublic true ⓘ
languageSupport C# using statement ⓘ
F# use binding ⓘ
VB.NET Using statement ⓘ
member Dispose ⓘ
methodSignature void Dispose() ⓘ
namespace System ⓘ
pattern Dispose pattern ⓘ
purpose release unmanaged resources ⓘ
support deterministic cleanup ⓘ
relatedTo System.ComponentModel.Component ⓘ
System.GC ⓘ
linked to: GC

System.IO.Stream ⓘ
System.Threading.CancellationTokenSource ⓘ
System.WeakReference ⓘ
using declaration ⓘ
using statement ⓘ
usedFor cleaning up GDI handles ⓘ
cleaning up I/O handles ⓘ
cleaning up database connections ⓘ
cleaning up file streams ⓘ
cleaning up native memory ⓘ
implementing dispose pattern ⓘ
lifetime management of resources ⓘ
resource management ⓘ
wrapping unmanaged resources ⓘ

How these facts were elicited

Referenced by (18)

Full triples — surface form annotated when it differs from this entity's canonical label.

System → containsType → System.IDisposable ⓘ
SqlTransaction → implements → IDisposable ⓘ
linked to: System.IDisposable
System.Runtime.dll → containsType → System.IDisposable ⓘ
System.IO.Stream → implements → System.IDisposable ⓘ
System.IO.FileStream → implements → System.IDisposable ⓘ
System.IO.BinaryReader → implements → System.IDisposable ⓘ
System.IO.BinaryWriter → implements → System.IDisposable ⓘ
System.IO.StreamWriter → implements → System.IDisposable ⓘ
System.IO.TextWriter → implements → System.IDisposable ⓘ
System.Net.Mail.MailMessage → implements → System.IDisposable ⓘ
System.Net.Mail.Attachment → implements → System.IDisposable ⓘ
System.Net.Sockets.UdpClient → implements → System.IDisposable ⓘ
RegisteredWaitHandle → implementsInterface → System.IDisposable ⓘ
ThreadPoolBoundHandle → implements → System.IDisposable ⓘ
System.Net.HttpWebResponse → implements → System.IDisposable ⓘ
ManualResetEventSlim → implements → IDisposable ⓘ
linked to: System.IDisposable
DbTransaction → hasInterface → IDisposable ⓘ
linked to: System.IDisposable