Sdílet prostřednictvím


ConnectedServicesManager.ConfigureServiceAsync Method

Definition

Configures a connected service in the specified project using the specified providerId.

public abstract System.Threading.Tasks.Task ConfigureServiceAsync (string providerId, Microsoft.VisualStudio.Shell.Interop.IVsHierarchy project, Microsoft.VisualStudio.ConnectedServices.ConfigureServiceOptions options = default);
abstract member ConfigureServiceAsync : string * Microsoft.VisualStudio.Shell.Interop.IVsHierarchy * Microsoft.VisualStudio.ConnectedServices.ConfigureServiceOptions -> System.Threading.Tasks.Task
Public MustOverride Function ConfigureServiceAsync (providerId As String, project As IVsHierarchy, Optional options As ConfigureServiceOptions = Nothing) As Task

Parameters

providerId
String

The string identifier of the ConnectedServiceProvider.

project
IVsHierarchy

The project to which to configure the service.

options
ConfigureServiceOptions

The options to use while configuring the service.

Returns

A Task that will signal when this action is complete.

Applies to