SuggestionManagerBase.DisableProviderAsync(String, CancellationToken) 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.
Disable a provider with the given name
. Dispose of the returned IAsyncDisposable to reenable the provider.
public abstract System.Threading.Tasks.Task<Microsoft.VisualStudio.Threading.IAsyncDisposable> DisableProviderAsync (string name, System.Threading.CancellationToken cancel);
abstract member DisableProviderAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.VisualStudio.Threading.IAsyncDisposable>
Public MustOverride Function DisableProviderAsync (name As String, cancel As CancellationToken) As Task(Of IAsyncDisposable)
Parameters
- name
- String
- cancel
- CancellationToken