Share via


GlobalBrokeredServiceContainer.ProfferIntrinsicService Method

Definition

Overloads

ProfferIntrinsicService(ServiceRpcDescriptor, ServiceRegistration, BrokeredServiceFactory)

Proffers a very special brokered service that is intrinsic to each GlobalBrokeredServiceContainer.View.

ProfferIntrinsicService(ServiceRpcDescriptor, ServiceRegistration, GlobalBrokeredServiceContainer+ViewIntrinsicBrokeredServiceFactory)

Proffers a very special brokered service that is intrinsic to each GlobalBrokeredServiceContainer.View.

ProfferIntrinsicService(ServiceRpcDescriptor, ServiceRegistration, BrokeredServiceFactory)

Proffers a very special brokered service that is intrinsic to each GlobalBrokeredServiceContainer.View.

protected IDisposable ProfferIntrinsicService (Microsoft.ServiceHub.Framework.ServiceRpcDescriptor serviceDescriptor, Microsoft.VisualStudio.Utilities.ServiceBroker.ServiceRegistration newRegistration, Microsoft.VisualStudio.Shell.ServiceBroker.BrokeredServiceFactory factory);
member this.ProfferIntrinsicService : Microsoft.ServiceHub.Framework.ServiceRpcDescriptor * Microsoft.VisualStudio.Utilities.ServiceBroker.ServiceRegistration * Microsoft.VisualStudio.Shell.ServiceBroker.BrokeredServiceFactory -> IDisposable
Protected Function ProfferIntrinsicService (serviceDescriptor As ServiceRpcDescriptor, newRegistration As ServiceRegistration, factory As BrokeredServiceFactory) As IDisposable

Parameters

serviceDescriptor
ServiceRpcDescriptor

The ServiceRpcDescriptor of the service.

newRegistration
ServiceRegistration

The ServiceRegistration representing the service being registered.

factory
BrokeredServiceFactory

The factory that generates the new service.

Returns

An IDisposable that will remove the service when disposed.

Applies to

ProfferIntrinsicService(ServiceRpcDescriptor, ServiceRegistration, GlobalBrokeredServiceContainer+ViewIntrinsicBrokeredServiceFactory)

Proffers a very special brokered service that is intrinsic to each GlobalBrokeredServiceContainer.View.

protected IDisposable ProfferIntrinsicService (Microsoft.ServiceHub.Framework.ServiceRpcDescriptor serviceDescriptor, Microsoft.VisualStudio.Utilities.ServiceBroker.ServiceRegistration newRegistration, Microsoft.VisualStudio.Utilities.ServiceBroker.GlobalBrokeredServiceContainer.ViewIntrinsicBrokeredServiceFactory factory);
member this.ProfferIntrinsicService : Microsoft.ServiceHub.Framework.ServiceRpcDescriptor * Microsoft.VisualStudio.Utilities.ServiceBroker.ServiceRegistration * Microsoft.VisualStudio.Utilities.ServiceBroker.GlobalBrokeredServiceContainer.ViewIntrinsicBrokeredServiceFactory -> IDisposable
Protected Function ProfferIntrinsicService (serviceDescriptor As ServiceRpcDescriptor, newRegistration As ServiceRegistration, factory As GlobalBrokeredServiceContainer.ViewIntrinsicBrokeredServiceFactory) As IDisposable

Parameters

serviceDescriptor
ServiceRpcDescriptor

The ServiceRpcDescriptor of the service.

newRegistration
ServiceRegistration

The ServiceRegistration representing the service being registered.

factory
GlobalBrokeredServiceContainer.ViewIntrinsicBrokeredServiceFactory

The factory that generates the new service.

Returns

An IDisposable that will remove the service when disposed.

Applies to