Condividi tramite


GlobalBrokeredServiceContainer Costruttori

Definizione

Overload

GlobalBrokeredServiceContainer(ImmutableDictionary<ServiceMoniker,ServiceRegistration>, Boolean, JoinableTaskFactory, TraceSource)

Inizializza una nuova istanza della classe GlobalBrokeredServiceContainer.

GlobalBrokeredServiceContainer(ImmutableDictionary<ServiceMoniker,ServiceRegistration>, Boolean, TelemetrySession, JoinableTaskFactory, TraceSource)

Inizializza una nuova istanza della classe GlobalBrokeredServiceContainer.

GlobalBrokeredServiceContainer(ImmutableDictionary<ServiceMoniker,ServiceRegistration>, Boolean, JoinableTaskFactory, TraceSource)

Inizializza una nuova istanza della classe GlobalBrokeredServiceContainer.

protected GlobalBrokeredServiceContainer (System.Collections.Immutable.ImmutableDictionary<Microsoft.ServiceHub.Framework.ServiceMoniker,Microsoft.VisualStudio.Utilities.ServiceBroker.ServiceRegistration> services, bool isClientOfExclusiveServer, Microsoft.VisualStudio.Threading.JoinableTaskFactory? joinableTaskFactory, System.Diagnostics.TraceSource traceSource);
new Microsoft.VisualStudio.Utilities.ServiceBroker.GlobalBrokeredServiceContainer : System.Collections.Immutable.ImmutableDictionary<Microsoft.ServiceHub.Framework.ServiceMoniker, Microsoft.VisualStudio.Utilities.ServiceBroker.ServiceRegistration> * bool * Microsoft.VisualStudio.Threading.JoinableTaskFactory * System.Diagnostics.TraceSource -> Microsoft.VisualStudio.Utilities.ServiceBroker.GlobalBrokeredServiceContainer
Protected Sub New (services As ImmutableDictionary(Of ServiceMoniker, ServiceRegistration), isClientOfExclusiveServer As Boolean, joinableTaskFactory As JoinableTaskFactory, traceSource As TraceSource)

Parametri

services
ImmutableDictionary<ServiceMoniker,ServiceRegistration>

Mappa dei moniker del servizio ai relativi dettagli di registrazione. Solo i servizi registrati saranno recuperabili dai IServiceBroker metodi restituiti da questa classe.

isClientOfExclusiveServer
Boolean

true quando questo processo è o sarà connesso a un server attendibile dedicato (ad esempio, codespace) che fornirà l'ambiente a questo client; false Altrimenti.

joinableTaskFactory
JoinableTaskFactory

Facoltativo JoinableTaskFactory da usare durante la pianificazione del lavoro asincrono, per evitare deadlock in un'applicazione con un thread principale.

traceSource
TraceSource

Mezzo di registrazione.

Si applica a

GlobalBrokeredServiceContainer(ImmutableDictionary<ServiceMoniker,ServiceRegistration>, Boolean, TelemetrySession, JoinableTaskFactory, TraceSource)

Inizializza una nuova istanza della classe GlobalBrokeredServiceContainer.

protected:
 GlobalBrokeredServiceContainer(System::Collections::Immutable::ImmutableDictionary<Microsoft::ServiceHub::Framework::ServiceMoniker ^, Microsoft::VisualStudio::Utilities::ServiceBroker::ServiceRegistration ^> ^ services, bool isClientOfExclusiveServer, Microsoft::VisualStudio::Telemetry::TelemetrySession ^ telemetrySession, Microsoft::VisualStudio::Threading::JoinableTaskFactory ^ joinableTaskFactory, System::Diagnostics::TraceSource ^ traceSource);
protected GlobalBrokeredServiceContainer (System.Collections.Immutable.ImmutableDictionary<Microsoft.ServiceHub.Framework.ServiceMoniker,Microsoft.VisualStudio.Utilities.ServiceBroker.ServiceRegistration> services, bool isClientOfExclusiveServer, Microsoft.VisualStudio.Telemetry.TelemetrySession telemetrySession, Microsoft.VisualStudio.Threading.JoinableTaskFactory joinableTaskFactory, System.Diagnostics.TraceSource traceSource);
new Microsoft.VisualStudio.Utilities.ServiceBroker.GlobalBrokeredServiceContainer : System.Collections.Immutable.ImmutableDictionary<Microsoft.ServiceHub.Framework.ServiceMoniker, Microsoft.VisualStudio.Utilities.ServiceBroker.ServiceRegistration> * bool * Microsoft.VisualStudio.Telemetry.TelemetrySession * Microsoft.VisualStudio.Threading.JoinableTaskFactory * System.Diagnostics.TraceSource -> Microsoft.VisualStudio.Utilities.ServiceBroker.GlobalBrokeredServiceContainer
Protected Sub New (services As ImmutableDictionary(Of ServiceMoniker, ServiceRegistration), isClientOfExclusiveServer As Boolean, telemetrySession As TelemetrySession, joinableTaskFactory As JoinableTaskFactory, traceSource As TraceSource)

Parametri

services
ImmutableDictionary<ServiceMoniker,ServiceRegistration>

Mappa dei moniker del servizio ai relativi dettagli di registrazione. Solo i servizi registrati saranno recuperabili dai IServiceBroker metodi restituiti da questa classe.

isClientOfExclusiveServer
Boolean

true quando questo processo è o sarà connesso a un server attendibile dedicato (ad esempio, codespace) che fornirà l'ambiente a questo client; false Altrimenti.

telemetrySession
TelemetrySession
joinableTaskFactory
JoinableTaskFactory
traceSource
TraceSource

Si applica a