MockBrokeredServiceContainer.Proffer 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.
Indexes a proffered service factory or broker for fast lookup.
protected:
override IDisposable ^ Proffer(Microsoft::VisualStudio::Utilities::ServiceBroker::GlobalBrokeredServiceContainer::IProffered ^ proffered);
protected override IDisposable Proffer (Microsoft.VisualStudio.Utilities.ServiceBroker.GlobalBrokeredServiceContainer.IProffered proffered);
abstract member Proffer : Microsoft.VisualStudio.Utilities.ServiceBroker.GlobalBrokeredServiceContainer.IProffered -> IDisposable
override this.Proffer : Microsoft.VisualStudio.Utilities.ServiceBroker.GlobalBrokeredServiceContainer.IProffered -> IDisposable
Protected Overrides Function Proffer (proffered As GlobalBrokeredServiceContainer.IProffered) As IDisposable
Parameters
The proffering wrapper.
Returns
A value that may be disposed to cancel the proffer and remove its services from the index.