ServiceRegistration(ServiceAudience, Object, Boolean) Constructor
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.
Initializes a new instance of the ServiceRegistration class.
public:
ServiceRegistration(Microsoft::VisualStudio::Shell::ServiceBroker::ServiceAudience audience, System::Object ^ profferingPackageId, bool allowGuestClients);
public ServiceRegistration (Microsoft.VisualStudio.Shell.ServiceBroker.ServiceAudience audience, object? profferingPackageId, bool allowGuestClients);
new Microsoft.VisualStudio.Utilities.ServiceBroker.ServiceRegistration : Microsoft.VisualStudio.Shell.ServiceBroker.ServiceAudience * obj * bool -> Microsoft.VisualStudio.Utilities.ServiceBroker.ServiceRegistration
Public Sub New (audience As ServiceAudience, profferingPackageId As Object, allowGuestClients As Boolean)
Parameters
- audience
- ServiceAudience
The audience that may consume this brokered service.
- profferingPackageId
- Object
The ID of the brokered service host that may need to be activated in order to proffer the service factory.
- allowGuestClients
- Boolean
A value indicating whether remote guests should be allowed to access this service.