共用方式為


Microsoft.VisualStudio.Shell.ServiceBroker Namespace

Classes

BrokeredServiceRegistryEntry

A class that represents the registry entry of a brokered service.

ExportBrokeredServiceAttribute

Exports a class as a brokered service.

ProvideBrokeredServiceAttribute

Produces registration for a Visual Studio package that leads to the package to be loaded when a specified service is requested.

ProvideBrokeredServiceHubServiceAttribute

Produces registration for a Visual Studio package that leads to the package to be loaded when a specified ServiceHub service is requested.

ServiceBrokerOfExportedServices

Implements the IServiceBroker to be proffered into the GlobalBrokeredServiceContainer in order to effectively proffer all the MEF-activated brokered services in the IDE.

Interfaces

IBrokeredServiceContainer

Provides a means to proffer services into IServiceBroker and access to the global IServiceBroker.

IBrokeredServiceContainerDiagnostics

Allows for retrieval or export of manifest, registration and runtime data that can be useful in diagnosing a service acquisition failure.

IBrokeredServiceContainerInternal

An internal-interface that provides access to more of what SVsBrokeredServiceContainer offers.

IExportedBrokeredService

An interface that must be implemented by a brokered service that is exported to MEF via the ExportBrokeredServiceAttribute.

SVsBrokeredServiceContainer

The service ID for the brokered service container.

SVsFullAccessServiceBroker

A type to serve as the MEF contract name for importing an IServiceBroker that is equivalent to what would have come from a call to GetFullAccessServiceBroker() on the SVsBrokeredServiceContainer.

Enums

ClientCredentialsPolicy

Policies that may apply to how to treat credentials.

ServiceAudience

Identifies various audiences that may want or need to access a service. When used to register a service (e.g. ProvideBrokeredServiceAttribute) it determines whether that service can be accessed locally, remotely and/or by 3rd parties.

Delegates

AuthorizingBrokeredServiceFactory

A delegate that creates new instances of a service to be exposed by an IServiceBroker.

BrokeredServiceFactory

A delegate that creates new instances of a service to be exposed by an IServiceBroker.