GlobalBrokeredServiceContainer.ProfferIntrinsicService Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
The factory that generates the new service.
Returns
An IDisposable that will remove the service when disposed.