Share via


ConnectedServiceProviderContext Class

Definition

The context information and services given to ConnectedServiceProvider instances during CreateConfiguratorAsync.

public ref class ConnectedServiceProviderContext abstract : Microsoft::VisualStudio::ConnectedServices::ConnectedServiceContext
[Windows::Foundation::Metadata::WebHostHidden]
public ref class ConnectedServiceProviderContext abstract : Microsoft::VisualStudio::ConnectedServices::ConnectedServiceContext
[Windows::Foundation::Metadata::WebHostHidden]
class ConnectedServiceProviderContext abstract : Microsoft::VisualStudio::ConnectedServices::ConnectedServiceContext
public abstract class ConnectedServiceProviderContext : Microsoft.VisualStudio.ConnectedServices.ConnectedServiceContext
type ConnectedServiceProviderContext = class
    inherit ConnectedServiceContext
Public MustInherit Class ConnectedServiceProviderContext
Inherits ConnectedServiceContext
Inheritance
ConnectedServiceProviderContext

Remarks

Instances of this class are provided by the Connected Services infrastructure. It is not intended that you inherit from this class from your production code.

Constructors

ConnectedServiceProviderContext()

Initializes a new instance of the ConnectedServiceProviderContext class. This constructor supports unit testing your extension and is not intended to be used directly from your production code.

Properties

Args

Gets a property bag that contains the custom parameters that were specified when connected services session was launched.

(Inherited from ConnectedServiceContext)
IsUpdating

Gets a value indicating whether a connected service is being updated.

(Inherited from ConnectedServiceContext)
Logger

Gets or sets a logger that can be used to write any messages to the caller. This will include warnings of steps that did not succeed but can be fixed by the end user or errors that caused the operation to fail.

(Inherited from ConnectedServiceContext)
ProjectHierarchy

Gets or sets the project's IVsHierarchy that the current Connected Service dialog is operating on.

(Inherited from ConnectedServiceContext)
UpdateContext

Gets or sets the information that is provided when a connected service is being updated, or null if the connected service is not being updated.

(Inherited from ConnectedServiceContext)

Methods

CreateReadOnlyXmlConfigHelper()

Creates an XmlConfigHelper that can be used to read xml configuration files.

(Inherited from ConnectedServiceContext)
GetExtendedDesignerData<TData>()

Gets the designer data for the connected service that is stored in the ConnectedServices.json file for the service.

(Inherited from ConnectedServiceContext)
GetServiceFolder(String)

Gets the IVsHierarchyItem for the Connected Service folder with the specified name, or null if the specified folder isn't valid.

InitializeUpdateContext(IVsHierarchyItem)

InitializeUpdateContext puts the current connected service session in update mode. This allows providers to update a connected service that already exists in the project.

SetExtendedDesignerData<TData>(TData)

Sets the designer data for the connected service that is stored in the ConnectedServices.json file for the service upon successfully adding/updating the service.

(Inherited from ConnectedServiceContext)
StartBusyIndicator(String)

Shows a busy indicator and message to the user to indicate that Visual Studio is actively working on processing the current request.

Applies to