共用方式為


GlobalBrokeredServiceContainer.GetLimitedAccessRemoteServiceBroker Method

Definition

public:
 Microsoft::ServiceHub::Framework::IRemoteServiceBroker ^ GetLimitedAccessRemoteServiceBroker(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.IRemoteServiceBroker GetLimitedAccessRemoteServiceBroker (Microsoft.VisualStudio.Shell.ServiceBroker.ServiceAudience audience, System.Collections.Generic.IReadOnlyDictionary<string,string> clientCredentials, Microsoft.VisualStudio.Shell.ServiceBroker.ClientCredentialsPolicy credentialPolicy);
member this.GetLimitedAccessRemoteServiceBroker : Microsoft.VisualStudio.Shell.ServiceBroker.ServiceAudience * System.Collections.Generic.IReadOnlyDictionary<string, string> * Microsoft.VisualStudio.Shell.ServiceBroker.ClientCredentialsPolicy -> Microsoft.ServiceHub.Framework.IRemoteServiceBroker
Public Function GetLimitedAccessRemoteServiceBroker (audience As ServiceAudience, clientCredentials As IReadOnlyDictionary(Of String, String), credentialPolicy As ClientCredentialsPolicy) As IRemoteServiceBroker

Parameters

audience
ServiceAudience
clientCredentials
IReadOnlyDictionary<String,String>
credentialPolicy
ClientCredentialsPolicy

Returns

A IRemoteServiceBroker for use in sharing directly on a remote connection.

Applies to