Condividi tramite


GlobalBrokeredServiceContainer.ProfferedServiceBroker Classe

Definizione

Servizi negoziati che vengono offerti tramite un in-process IServiceBroker.

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

Proprietà

Monikers

Ottiene il set di moniker per i servizi con proffering.

Source

Ottiene un identificatore da cui vengono offerti i servizi.

Metodi

Dispose()

Servizi negoziati che vengono offerti tramite un in-process IServiceBroker.

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

Si verifica quando in precedenza un servizio sottoposto a query per dopo l'ultimo AvailabilityChanged evento potrebbe aver modificato la disponibilità.

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