GlobalBrokeredServiceContainer.GetServicesThatMayBeExpected 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.
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__38))]
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__38))>]
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