Share via


GlobalBrokeredServiceContainer.ProfferedServiceFactory Class

Definition

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

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

Properties

AuthorizingFactory

Gets the factory, if one was provided that takes an AuthorizationServiceClient.

Container

Gets the container.

DebuggerDisplay

Gets a reasonable value to used for the DebuggerDisplayAttribute on this or a derived type.

Descriptor

Gets the descriptor that was provided with the factory.

Factory

Gets the factory, if one was provided that did not take an AuthorizationServiceClient.

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

We never raise this event, so just drop the handlers on the floor.

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