Share via


ConnectedServiceGrid Class

Definition

A ConnectedServiceProvider service that shows a grid of instances, where a single instance can be chosen to add to the current project.

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

Remarks

For any string property you can return null to use the default text. In order to not display text, return string.Empty.

Constructors

ConnectedServiceGrid()

Initializes a new instance of the ConnectedServiceGrid class.

Properties

CanConfigureService

Gets or sets a value indicating whether this service can be configured through the connected service provider.

CanConfigureServiceInstance

Gets or sets a value indicating whether instances of this service can be configured through the connected service provider.

CanCreateServiceInstance

Gets or sets a value indicating whether the provider can currently create a service instance.

ColumnMetadata

Gets the keys and display strings for metadata to show as columns in the service instance list.

ConfigureServiceInstanceText

Gets or sets a value to use as the text of the control for the users to configure an instance.

ConfigureServiceText

Gets or sets a value to use as the text of the control for the users to configure the service.

CreateServiceInstanceText

Gets or sets a value to use as the text of the control for the users to create a new instance.

Description

Gets or sets a value to display under the title of the dialog.

DetailMetadata

Gets the keys and display strings for metadata to show in the property pane (to the right) when an instance is selected from the service instance list.

EnumeratingServiceInstancesText

Gets or sets a value to display while Connected Services is attempting to retrieve the service instances.

GridHeaderText

Gets or sets a value to display directly above the grid.

NoServiceInstancesText

Gets or sets a value to display when no instances are available because the enumeration returned no instances.

ServiceInstanceNameLabelText

Gets or sets a value to display as the column header or label for the service instance name.

Methods

ConfigureServiceAsync(CancellationToken)

Configure a service either through a dialog or linking to the configure web page.

ConfigureServiceInstanceAsync(ConnectedServiceInstance, CancellationToken)

Configure a service instance either through a dialog or linking to the configure web page.

CreateAuthenticatorAsync()

Creates the ConnectedServiceAuthenticator that allows users to log into the service.

CreateServiceInstanceAsync(CancellationToken)

Create a new instance of the service.

Dispose()

Releases all resources used by the object.

(Inherited from ConnectedServiceViewModelBase)
Dispose(Boolean)

Releases the unmanaged resources used by the object and optionally releases the managed resources.

(Inherited from ConnectedServiceViewModelBase)
EnumerateServiceInstancesAsync(CancellationToken)

Get a list of all of the service instances for the currently authenticated user, if any.

OnPropertyChanged(String)

Notifies clients that a property value has changed.

(Inherited from ConnectedServiceViewModelBase)

Events

PropertyChanged

Occurs when a property value changes.

(Inherited from ConnectedServiceViewModelBase)

Applies to