ServiceBrokerOfExportedServices.RegisterAndProfferServices 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
註冊 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
要向中註冊和教授服務的容器。