共用方式為


ServiceBrokerOfExportedServices.RegisterAndProfferServices 方法

定義

註冊 MEF 導出的代理服務,併為其授與處理站。

public void RegisterAndProfferServices (Microsoft.VisualStudio.Utilities.ServiceBroker.GlobalBrokeredServiceContainer container);
member this.RegisterAndProfferServices : Microsoft.VisualStudio.Utilities.ServiceBroker.GlobalBrokeredServiceContainer -> unit
Public Sub RegisterAndProfferServices (container As GlobalBrokeredServiceContainer)

參數

container
GlobalBrokeredServiceContainer

要向中註冊和教授服務的容器。

適用於