IExtension.IsEnabledAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Controls whether the extension is enabled or not. This is useful for extensions that are always registered but only enabled when certain conditions are met. For example, an extension that would want to be run only when its associated command line option is provided by the user.
public System.Threading.Tasks.Task<bool> IsEnabledAsync();
abstract member IsEnabledAsync : unit -> System.Threading.Tasks.Task<bool>
Public Function IsEnabledAsync () As Task(Of Boolean)