Condividi tramite


GlobalBrokeredServiceContainer.ProfferedServiceFactory Classe

Definizione

Services a brokered service that is proffered via an in-process factory.

[System.Diagnostics.DebuggerDisplay("{DebuggerDisplay}")]
protected class GlobalBrokeredServiceContainer.ProfferedServiceFactory : IDisposable, Microsoft.VisualStudio.Utilities.ServiceBroker.GlobalBrokeredServiceContainer.IProffered
Protected Class GlobalBrokeredServiceContainer.ProfferedServiceFactory
Implements GlobalBrokeredServiceContainer.IProffered, IDisposable
Ereditarietà
GlobalBrokeredServiceContainer.ProfferedServiceFactory
Derivato
Attributi
Implementazioni

Proprietà

AuthorizingFactory

Ottiene la factory, se ne è stata specificata una che accetta un oggetto AuthorizationServiceClient.

Container

Ottiene il contenitore.

DebuggerDisplay

Ottiene un valore ragionevole da utilizzare per in DebuggerDisplayAttribute questo oggetto o in un tipo derivato.

Descriptor

Ottiene il descrittore fornito con la factory.

Factory

Ottiene la factory, se ne è stata specificata una che non ha preso un oggetto AuthorizationServiceClient.

Monikers

Ottiene il set di moniker per i servizi con proffering.

Source

Ottiene un identificatore da cui vengono offerti i servizi.

Metodi

Dispose()

Services a brokered service that is proffered via an in-process factory.

GetPipeAsync(ServiceMoniker, ServiceActivationOptions, CancellationToken)

Richiede l'accesso ad alcuni servizi tramite .IDuplexPipe

GetProxyAsync<T>(ServiceRpcDescriptor, ServiceActivationOptions, CancellationToken)

Richiede l'accesso ad alcuni servizi tramite un proxy client.

Eventi

AvailabilityChanged

Non generiamo mai questo evento, quindi basta rilasciare i gestori sul pavimento.

Implementazioni dell'interfaccia esplicita

IRemoteServiceBroker.CancelServiceRequestAsync(Guid)

Rilascia le risorse allocate in seguito a una chiamata precedente a RequestServiceChannelAsync(ServiceMoniker, ServiceActivationOptions, CancellationToken) quando il client non può o non completa la connessione al servizio richiesto.

IRemoteServiceBroker.HandshakeAsync(ServiceBrokerClientMetadata, CancellationToken)

Introduce il client al server per illustrare in dettaglio le funzionalità del client.

IRemoteServiceBroker.RequestServiceChannelAsync(ServiceMoniker, ServiceActivationOptions, CancellationToken)

Ottiene una pipe a un servizio.

Metodi di estensione

GetPipeAsync(IServiceBroker, ServiceMoniker, CancellationToken)

Richiede l'accesso ad alcuni servizi tramite .IDuplexPipe

GetProxyAsync<T>(IServiceBroker, ServiceJsonRpcDescriptor<T>, CancellationToken)

Richiede l'accesso ad alcuni servizi tramite un proxy client.

GetProxyAsync<T>(IServiceBroker, ServiceRpcDescriptor, CancellationToken)

Richiede l'accesso ad alcuni servizi tramite un proxy client.

CompareLocalToRemoteVersionAsync(IServiceBroker, ServiceMoniker, CancellationToken)

Confronta un servizio riconosciuto localmente con quello disponibile in remoto per lo stesso servizio.

ReportMissingServiceAsync(IServiceBroker, String, String, ServiceMoniker, Guid, UInt32, CancellationToken)

Presenta l'interfaccia utente senza modalità all'utente che spiega perché una funzionalità è disabilitata o funziona con funzionalità ridotte.

Si applica a