Steven Giesel 11/3/2022

Marking API's as obsolete or as experimental

Read Original

This technical article details the use of .NET attributes to manage API evolution. It covers the ObsoleteAttribute for deprecating APIs with compiler warnings or errors, and the RequiresPreviewFeaturesAttribute for marking experimental preview APIs, including how to opt-in at the project level or suppress warnings.

Marking API's as obsolete or as experimental

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week