Design Patterns
This topic provides guidelines for implementing common design patterns in class libraries.
Portions Copyright 2005 Microsoft Corporation. All rights reserved.
Portions Copyright Addison-Wesley Corporation. All rights reserved.
For more information on design guidelines, see the "Framework Design Guidelines: Conventions, Idioms, and Patterns for Reusable .NET Libraries" book by Krzysztof Cwalina and Brad Abrams, published by Addison-Wesley, 2005.
In This Section
- Implementing Finalize and Dispose to Clean Up Unmanaged Resources
Describes the recommended design pattern to implement in class libraries to clean up unmanaged resources using the Finalize and Dispose methods.
- Timeout Usage
Describes the guidelines for using time-outs in base class libraries to specify the maximum time a caller is willing to wait for completion of a method call.
Related Sections
- Asynchronous Programming Design Patterns
Describes asynchronous programming design guidelines.