Share via


GlobalBrokeredServiceContainer.ProfferedServiceBroker Class

Definition

Services brokered services that are proffered via an in-proc IServiceBroker.

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

Properties

Name Description
Monikers

Gets the set of monikers for the proffered services.

Source

Gets an identifier for where the services are proffered from.

Methods

Name Description
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

Name Description
AvailabilityChanged

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

Explicit Interface Implementations

Name Description
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

Name Description
CompareLocalToRemoteVersionAsync(IServiceBroker, ServiceMoniker, CancellationToken)

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

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.

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