Partilhar via


GlobalBrokeredServiceContainer.ProfferIntrinsicService Método

Definição

Sobrecargas

ProfferIntrinsicService(ServiceRpcDescriptor, ServiceRegistration, BrokeredServiceFactory)

Oferece um serviço intermediado muito especial que é intrínseco a cada GlobalBrokeredServiceContainer.View.

ProfferIntrinsicService(ServiceRpcDescriptor, ServiceRegistration, GlobalBrokeredServiceContainer+ViewIntrinsicBrokeredServiceFactory)

Oferece um serviço intermediado muito especial que é intrínseco a cada GlobalBrokeredServiceContainer.View.

ProfferIntrinsicService(ServiceRpcDescriptor, ServiceRegistration, BrokeredServiceFactory)

Oferece um serviço intermediado muito especial que é intrínseco a cada 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

Parâmetros

serviceDescriptor
ServiceRpcDescriptor

O ServiceRpcDescriptor do serviço.

newRegistration
ServiceRegistration

O ServiceRegistration que representa o serviço que está sendo registrado.

factory
BrokeredServiceFactory

A fábrica que gera o novo serviço.

Retornos

Um IDisposable que removerá o serviço quando descartado.

Aplica-se a

ProfferIntrinsicService(ServiceRpcDescriptor, ServiceRegistration, GlobalBrokeredServiceContainer+ViewIntrinsicBrokeredServiceFactory)

Oferece um serviço intermediado muito especial que é intrínseco a cada 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

Parâmetros

serviceDescriptor
ServiceRpcDescriptor

O ServiceRpcDescriptor do serviço.

newRegistration
ServiceRegistration

O ServiceRegistration que representa o serviço que está sendo registrado.

factory
GlobalBrokeredServiceContainer.ViewIntrinsicBrokeredServiceFactory

A fábrica que gera o novo serviço.

Retornos

Um IDisposable que removerá o serviço quando descartado.

Aplica-se a