Share via


ServiceRegistration Class

Definition

Brokered service registration information.

public ref class ServiceRegistration
[System.Diagnostics.DebuggerDisplay("{DebuggerDisplay}")]
public class ServiceRegistration
[<System.Diagnostics.DebuggerDisplay("{DebuggerDisplay}")>]
type ServiceRegistration = class
Public Class ServiceRegistration
Inheritance
ServiceRegistration
Attributes

Constructors

ServiceRegistration(ServiceAudience, Object, Boolean)

Initializes a new instance of the ServiceRegistration class.

Properties

AllowGuestClients

Gets a value indicating whether this service is exposed to non-Owner clients.

Audience

Gets the intended audiences for this service.

DebuggerDisplay

Gets the string to use in a DebuggerDisplayAttribute.

IsExposedLocally

Gets a value indicating whether this service is exposed to local clients relative to itself.

IsExposedRemotely

Gets a value indicating whether this service is exposed to remote clients relative to itself.

ProfferingPackageId

Gets the ID of the package to load so that this service will actually be proffered.

Methods

LoadProfferingPackageAsync(CancellationToken)

Triggers the call to Proffer(ServiceRpcDescriptor, BrokeredServiceFactory) the service represented by this registration if the service has not yet been proffered.

ToString()

Returns a string that represents the current object.

Applies to