ConnectedServiceHandler::UpdateServiceInstanceAsync Method (ConnectedServiceHandlerContext^, CancellationToken)

Visual Studio 2015
 

Namespace:   Microsoft.VisualStudio.ConnectedServices
Assembly:  Microsoft.VisualStudio.ConnectedServices (in Microsoft.VisualStudio.ConnectedServices.dll)

public:
virtual Task<UpdateServiceInstanceResult^>^ UpdateServiceInstanceAsync(
	ConnectedServiceHandlerContext^ context,
	CancellationToken ct
)

Parameters

context
Type: Microsoft.VisualStudio.ConnectedServices::ConnectedServiceHandlerContext^

The T: Microsoft.VisualStudio.ConnectedServices.ConnectedServiceHandlerContext that contains information such as the ConnectedServiceInstance that should be added to the project, the project that it should be added to, and other services.

ct
Type: System.Threading::CancellationToken

A CancellationToken token that is used to cancel the operation.

Return Value

Type: System.Threading.Tasks::Task<UpdateServiceInstanceResult^>^

Returns a Task<TResult> that contains the UpdateServiceInstanceResult that contains information for launching GettingStarted information after UpdateServiceInstanceAsync has completed.

Return to top
Show: