Share via


GlobalBrokeredServiceContainer.View Class

Definition

A filtered view on the services proffered to a GlobalBrokeredServiceContainer, exposed as an IServiceBroker.

[System.Diagnostics.DebuggerDisplay("{DebuggerDisplay}")]
protected class GlobalBrokeredServiceContainer.View : Microsoft.ServiceHub.Framework.IRemoteServiceBroker, Microsoft.ServiceHub.Framework.IServiceBroker
Protected Class GlobalBrokeredServiceContainer.View
Implements IRemoteServiceBroker, IServiceBroker
Inheritance
GlobalBrokeredServiceContainer.View
Attributes
Implements

Properties

Name Description
Audience

Gets the filter to apply to services.

Methods

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

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.

HandshakeAsync(ServiceBrokerClientMetadata, CancellationToken)

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

RequestServiceChannelAsync(ServiceMoniker, ServiceActivationOptions, CancellationToken)

Gets a pipe to a service.

Events

Name Description
AvailabilityChanged

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

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