Partilhar via


MockBrokeredServiceContainer.Proffer Method

Definition

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

proffered
GlobalBrokeredServiceContainer.IProffered

The proffering wrapper.

Returns

A value that may be disposed to cancel the proffer and remove its services from the index.

Applies to