Definitions

Sorry, no definitions found. You may find more data at dispose.

Etymologies

Sorry, no etymologies found.

Support

Help support Wordnik (and make this page ad-free) by adopting the word Dispose.

Examples

  • When you call the Dispose method of an object, or drop all references to the object, the.

    MSDN Blogs ajakumar 2009

  • It is recommended that you call Dispose on any object the implements it, but in this case I can't see any reason to.

    MSDN Blogs 2009

  • * before* you call Dispose () or Clear () on the DBObjectCollection that contains it.

    All Discussion Groups: Message List - root 2009

  • This allows for calling the 'Dispose' method to remove the scope of elevation.

    Site Home LightSwitch Team 2011

  • C++\CLI, where you can have something like automatic scope on variables, and the compiler takes care of calling the Dispose methods of all IDisposable fields in your Dispose method/destructor automatically.

    The Old New Thing 2010

  • Then using can't be used - so the class has to implement IDisposable to call Dispose on its members - and so does every class that holds an instance of the initial class, repeat until every class that could transitively hold an IDisposable also implements IDisposable.

    The Old New Thing 2010

  • MEF also recognizes types that implement IDisposable and correctly "implement the protocol" for calling Dispose on them in the right time.

    Site Home 2010

  • If your code is creating an instance of a type that is disposable (implements IDisposable), ensure your code is disposing the object (either by wrapping its usage inside an using statement, or by calling Dispose explicitly in a finally block).

    MSDN Blogs 2009

  • The confusing choice between setting an object to null and calling the Dispose method doesn't help matters any.

    Coding Horror 2009

  • My guess is that you're not calling Dispose () on the wrote in message news: 6153218@discussion. autodesk.com ...

    All Discussion Groups: Message List - root 2009

Comments

Log in or sign up to get involved in the conversation. It's quick and easy.