共用方式為


GlobalBrokeredServiceContainer.ProfferIntrinsicService 方法

定義

多載

ProfferIntrinsicService(ServiceRpcDescriptor, ServiceRegistration, BrokeredServiceFactory)

會推斷每個 內建 GlobalBrokeredServiceContainer.View的非常特殊代理服務。

ProfferIntrinsicService(ServiceRpcDescriptor, ServiceRegistration, GlobalBrokeredServiceContainer+ViewIntrinsicBrokeredServiceFactory)

會推斷每個 內建 GlobalBrokeredServiceContainer.View的非常特殊代理服務。

ProfferIntrinsicService(ServiceRpcDescriptor, ServiceRegistration, BrokeredServiceFactory)

會推斷每個 內建 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

參數

serviceDescriptor
ServiceRpcDescriptor

服務的 ServiceRpcDescriptor

newRegistration
ServiceRegistration

ServiceRegistration 表示要註冊的服務。

factory
BrokeredServiceFactory

產生新服務的處理站。

傳回

IDisposable 會在處置時移除服務。

適用於

ProfferIntrinsicService(ServiceRpcDescriptor, ServiceRegistration, GlobalBrokeredServiceContainer+ViewIntrinsicBrokeredServiceFactory)

會推斷每個 內建 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

參數

serviceDescriptor
ServiceRpcDescriptor

服務的 ServiceRpcDescriptor

newRegistration
ServiceRegistration

ServiceRegistration 表示要註冊的服務。

傳回

IDisposable 會在處置時移除服務。

適用於