GlobalBrokeredServiceContainer.GetServicesThatMayBeExpected Method

Definition

Returns the services that are registered locally that may be proffered by a particular remote source.

public:
 System::Collections::Generic::IEnumerable<Microsoft::ServiceHub::Framework::ServiceMoniker ^> ^ GetServicesThatMayBeExpected(Microsoft::VisualStudio::Utilities::ServiceBroker::ServiceSource remoteSource);
[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.VisualStudio.Utilities.ServiceBroker.GlobalBrokeredServiceContainer+<GetServicesThatMayBeExpected>d__36))]
public System.Collections.Generic.IEnumerable<Microsoft.ServiceHub.Framework.ServiceMoniker> GetServicesThatMayBeExpected (Microsoft.VisualStudio.Utilities.ServiceBroker.ServiceSource remoteSource);
[System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.VisualStudio.Utilities.ServiceBroker.GlobalBrokeredServiceContainer+<GetServicesThatMayBeExpected>d__39))]
public System.Collections.Generic.IEnumerable<Microsoft.ServiceHub.Framework.ServiceMoniker> GetServicesThatMayBeExpected (Microsoft.VisualStudio.Utilities.ServiceBroker.ServiceSource remoteSource);
[<System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.VisualStudio.Utilities.ServiceBroker.GlobalBrokeredServiceContainer+<GetServicesThatMayBeExpected>d__36))>]
member this.GetServicesThatMayBeExpected : Microsoft.VisualStudio.Utilities.ServiceBroker.ServiceSource -> seq<Microsoft.ServiceHub.Framework.ServiceMoniker>
[<System.Runtime.CompilerServices.IteratorStateMachine(typeof(Microsoft.VisualStudio.Utilities.ServiceBroker.GlobalBrokeredServiceContainer+<GetServicesThatMayBeExpected>d__39))>]
member this.GetServicesThatMayBeExpected : Microsoft.VisualStudio.Utilities.ServiceBroker.ServiceSource -> seq<Microsoft.ServiceHub.Framework.ServiceMoniker>
Public Iterator Function GetServicesThatMayBeExpected (remoteSource As ServiceSource) As IEnumerable(Of ServiceMoniker)

Parameters

remoteSource
ServiceSource

The source of services.

Returns

A sequence of registered services that we may expect from the source.

Attributes

Applies to