GlobalBrokeredServiceContainer Construtores
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
GlobalBrokeredServiceContainer(ImmutableDictionary<ServiceMoniker,ServiceRegistration>, Boolean, JoinableTaskFactory, TraceSource) |
Inicializa uma nova instância da classe GlobalBrokeredServiceContainer. |
GlobalBrokeredServiceContainer(ImmutableDictionary<ServiceMoniker,ServiceRegistration>, Boolean, TelemetrySession, JoinableTaskFactory, TraceSource) |
Inicializa uma nova instância da classe GlobalBrokeredServiceContainer. |
GlobalBrokeredServiceContainer(ImmutableDictionary<ServiceMoniker,ServiceRegistration>, Boolean, JoinableTaskFactory, TraceSource)
Inicializa uma nova instância da 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)
Parâmetros
Um mapa de monikers de serviço para seus detalhes de registro. Somente os serviços registrados poderão ser obtidos dos IServiceBroker métodos retornados nessa classe.
- isClientOfExclusiveServer
- Boolean
true
quando esse processo é ou será conectado a um servidor dedicado e confiável (por exemplo, um Codespace) que fornecerá o ambiente a esse cliente; false
Caso contrário.
- joinableTaskFactory
- JoinableTaskFactory
Um opcional JoinableTaskFactory a ser usado ao agendar o trabalho assíncrono, para evitar deadlocks em um aplicativo com um thread main.
- traceSource
- TraceSource
Um meio de registro em log.
Aplica-se a
GlobalBrokeredServiceContainer(ImmutableDictionary<ServiceMoniker,ServiceRegistration>, Boolean, TelemetrySession, JoinableTaskFactory, TraceSource)
Inicializa uma nova instância da 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)
Parâmetros
Um mapa de monikers de serviço para seus detalhes de registro. Somente os serviços registrados poderão ser obtidos dos IServiceBroker métodos retornados nessa classe.
- isClientOfExclusiveServer
- Boolean
true
quando esse processo é ou será conectado a um servidor dedicado e confiável (por exemplo, um Codespace) que fornecerá o ambiente a esse cliente; false
Caso contrário.
- telemetrySession
- TelemetrySession
- joinableTaskFactory
- JoinableTaskFactory
- traceSource
- TraceSource