Udostępnij za pośrednictwem


ConnectedServiceProvider.CreateConfiguratorAsync Metoda

Definicja

Tworzy obiekt modelu widoku używany do wyświetlania okna dialogowego konfiguracji usługi.

public:
 abstract System::Threading::Tasks::Task<Microsoft::VisualStudio::ConnectedServices::ConnectedServiceConfigurator ^> ^ CreateConfiguratorAsync(Microsoft::VisualStudio::ConnectedServices::ConnectedServiceProviderContext ^ context);
public abstract System.Threading.Tasks.Task<Microsoft.VisualStudio.ConnectedServices.ConnectedServiceConfigurator> CreateConfiguratorAsync (Microsoft.VisualStudio.ConnectedServices.ConnectedServiceProviderContext context);
abstract member CreateConfiguratorAsync : Microsoft.VisualStudio.ConnectedServices.ConnectedServiceProviderContext -> System.Threading.Tasks.Task<Microsoft.VisualStudio.ConnectedServices.ConnectedServiceConfigurator>
Public MustOverride Function CreateConfiguratorAsync (context As ConnectedServiceProviderContext) As Task(Of ConnectedServiceConfigurator)

Parametry

context
ConnectedServiceProviderContext

Obiekt kontekstu, który może dostarczać informacje i inne usługi do obiektu ConnectedServiceConfigurator.

Zwraca

Obiekt ConnectedServiceConfigurator, który będzie używany jako model widoku w oknie dialogowym konfiguracji usługi.

Uwagi

Rdzeń połączonych usług wywoła metodę Dispose() w tym wystąpieniu po zamknięciu okna dialogowego.

Dotyczy