ConnectedServiceHandler.UpdateServiceInstanceAsync 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.
Given an existing connected service instance, update the necessary files and SDKs in the project in order to enable the given service.
public:
virtual System::Threading::Tasks::Task<Microsoft::VisualStudio::ConnectedServices::UpdateServiceInstanceResult ^> ^ UpdateServiceInstanceAsync(Microsoft::VisualStudio::ConnectedServices::ConnectedServiceHandlerContext ^ context, System::Threading::CancellationToken ct);
public virtual System.Threading.Tasks.Task<Microsoft.VisualStudio.ConnectedServices.UpdateServiceInstanceResult> UpdateServiceInstanceAsync (Microsoft.VisualStudio.ConnectedServices.ConnectedServiceHandlerContext context, System.Threading.CancellationToken ct);
abstract member UpdateServiceInstanceAsync : Microsoft.VisualStudio.ConnectedServices.ConnectedServiceHandlerContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.VisualStudio.ConnectedServices.UpdateServiceInstanceResult>
override this.UpdateServiceInstanceAsync : Microsoft.VisualStudio.ConnectedServices.ConnectedServiceHandlerContext * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.VisualStudio.ConnectedServices.UpdateServiceInstanceResult>
Public Overridable Function UpdateServiceInstanceAsync (context As ConnectedServiceHandlerContext, ct As CancellationToken) As Task(Of UpdateServiceInstanceResult)
Parameters
- context
- ConnectedServiceHandlerContext
The service instance that should be added to the project, including the project that it should be added to and other information.
Cancellation Token to track cancellation.
Returns
Returns an UpdateServiceInstanceResult that contains information for launching GettingStarted information after UpdateServiceInstanceAsync has completed.