Visual Basic (Declaration) | |
---|---|
Public Overridable Sub Dispose() |
C# | |
---|---|
public virtual void Dispose() |
Exception | Description |
---|---|
System.InvalidOperationException | The exception that is thrown when a method call is invalid for the object's current state. |
Target Platforms: Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7