Share via


ServiceSource Enum

Definition

Enumerates the possible sources of a brokered service.

public enum class ServiceSource
public enum ServiceSource
type ServiceSource = 
Public Enum ServiceSource
Inheritance
ServiceSource

Fields

Name Value Description
SameProcess 0

The services are proffered from within this process.

OtherProcessOnSameMachine 1

The services are proffered by local (and trusted) sources, outside this process.

TrustedServer 2

The services are proffered by a remote server (e.g. Live Share host) that is under the control of the same user account as the local one (the guest who is joining the session).

UntrustedServer 3

The services are proffered by a remote server (e.g. Live Share host) that is NOT under the control of the same user account as the local one (the guest who is joining the session).

TrustedExclusiveServer 4

The services are proffered by a remote server that is under the control of the same user account as the local one using an exclusive connection (that isn't the traditional Live Share sharing session). For example a Codespace server.

TrustedExclusiveClient 5

The services are proffered by a remote client under the control of the same user account as the local one. This is a special 1:1 relationship. For example the client of a Codespace.

Applies to