Share via


SuggestionManagerBase.DisableProviderAsync(String, CancellationToken) Method

Definition

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

Returns

Applies to