Events
Mar 17, 9 PM - Mar 21, 10 AM
Join the meetup series to build scalable AI solutions based on real-world use cases with fellow developers and experts.
Register nowThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
A statement attempts to access a programming element which has been marked with the ObsoleteAttribute attribute and the directive to treat it as a warning.
You can mark any programming element as being no longer in use by applying ObsoleteAttribute to it. If you do this, you can set the attribute's IsError property to either True
or False
. If you set it to True
, the compiler treats an attempt to use the element as an error. If you set it to False
, or let it default to False
, the compiler issues a warning if there is an attempt to use the element.
By default, this message is a warning, because the IsError property of ObsoleteAttribute is False
. For more information about hiding warnings or treating warnings as errors, see Configuring Warnings in Visual Basic.
Error ID: BC40008
.NET feedback
.NET is an open source project. Select a link to provide feedback:
Events
Mar 17, 9 PM - Mar 21, 10 AM
Join the meetup series to build scalable AI solutions based on real-world use cases with fellow developers and experts.
Register now