Share via


ServiceRegistration(ServiceAudience, Object, Boolean) Constructor

Definition

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.

Applies to