Share via


IBrokeredServiceContainerInternal.GetLimitedAccessServiceBroker Method

Definition

Gets a service broker that targets an out of proc and/or less trusted consumer.

public:
 Microsoft::ServiceHub::Framework::IServiceBroker ^ GetLimitedAccessServiceBroker(Microsoft::VisualStudio::Shell::ServiceBroker::ServiceAudience audience, System::Collections::Generic::IReadOnlyDictionary<System::String ^, System::String ^> ^ clientCredentials, Microsoft::VisualStudio::Shell::ServiceBroker::ClientCredentialsPolicy credentialPolicy);
public Microsoft.ServiceHub.Framework.IServiceBroker GetLimitedAccessServiceBroker (Microsoft.VisualStudio.Shell.ServiceBroker.ServiceAudience audience, System.Collections.Generic.IReadOnlyDictionary<string,string> clientCredentials, Microsoft.VisualStudio.Shell.ServiceBroker.ClientCredentialsPolicy credentialPolicy);
abstract member GetLimitedAccessServiceBroker : Microsoft.VisualStudio.Shell.ServiceBroker.ServiceAudience * System.Collections.Generic.IReadOnlyDictionary<string, string> * Microsoft.VisualStudio.Shell.ServiceBroker.ClientCredentialsPolicy -> Microsoft.ServiceHub.Framework.IServiceBroker
Public Function GetLimitedAccessServiceBroker (audience As ServiceAudience, clientCredentials As IReadOnlyDictionary(Of String, String), credentialPolicy As ClientCredentialsPolicy) As IServiceBroker

Parameters

audience
ServiceAudience

The architectural position of the consumer.

clientCredentials
IReadOnlyDictionary<String,String>

The client credentials to associate with this consumer, if less trusted.

credentialPolicy
ClientCredentialsPolicy

How to apply client credentials to individual service requests.

Returns

The custom IServiceBroker.

Applies to