Share via


GlobalBrokeredServiceContainer.ProfferedRemoteServiceBroker Class

Definition

Services a brokered service that is proffered via a IRemoteServiceBroker.

[System.Diagnostics.DebuggerDisplay("{DebuggerDisplay}")]
protected class GlobalBrokeredServiceContainer.ProfferedRemoteServiceBroker : IDisposable, Microsoft.VisualStudio.Utilities.ServiceBroker.GlobalBrokeredServiceContainer.IProffered
Protected Class GlobalBrokeredServiceContainer.ProfferedRemoteServiceBroker
Implements GlobalBrokeredServiceContainer.IProffered, IDisposable
Inheritance
GlobalBrokeredServiceContainer.ProfferedRemoteServiceBroker
Attributes
Implements

Properties

Monikers

Gets the set of monikers for the proffered services.

Source

Gets an identifier for where the services are proffered from.

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

GetPipeAsync(ServiceMoniker, ServiceActivationOptions, CancellationToken)

Requests access to some service through an IDuplexPipe.

GetProxyAsync<T>(ServiceRpcDescriptor, ServiceActivationOptions, CancellationToken)

Requests access to some service through a client proxy.

Events

AvailabilityChanged

Occurs when a service previously queried for since the last AvailabilityChanged event may have changed availability.

Explicit Interface Implementations

IRemoteServiceBroker.CancelServiceRequestAsync(Guid)

Releases resources allocated as a result of a prior call to RequestServiceChannelAsync(ServiceMoniker, ServiceActivationOptions, CancellationToken) when the client cannot or will not complete the connection to the requested service.

IRemoteServiceBroker.HandshakeAsync(ServiceBrokerClientMetadata, CancellationToken)

Introduces the client to the server to detail the client's capabilities.

IRemoteServiceBroker.RequestServiceChannelAsync(ServiceMoniker, ServiceActivationOptions, CancellationToken)

Gets a pipe to a service.

Extension Methods

GetPipeAsync(IServiceBroker, ServiceMoniker, CancellationToken)

Requests access to some service through an IDuplexPipe.

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

Requests access to some service through a client proxy.

GetProxyAsync<T>(IServiceBroker, ServiceRpcDescriptor, CancellationToken)

Requests access to some service through a client proxy.

CompareLocalToRemoteVersionAsync(IServiceBroker, ServiceMoniker, CancellationToken)

Compares a locally recognized service to what is available remotely for the same service.

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

Presents modeless UI to the user that explains why a feature is disabled or operating with reduced functionality.

Applies to