Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Version introduced: .NET 7
DomainUpDown.DomainUpDownAccessibleObjectis obsolete. UseAccessibleObjectinstead.
Reference to DomainUpDown.DomainUpDownAccessibleObject generates warning WFDEV002 at compile time. This error states that DomainUpDownAccessibleObject is no longer used to provide accessible support for DomainUpDown controls. The DomainUpDownAccessibleObject type was never intended for public use.
Workaround
Replace references of DomainUpDown.DomainUpDownAccessibleObject with AccessibleObject.
Suppress a warning
This warning was promoted to an error starting in .NET 8, and you can no longer suppress the error. For more information, see WFDEV002 obsoletion is now an error.
.NET Desktop feedback