Share via


IpcRelayServiceBroker Class

Definition

An IRemoteServiceBroker which proffers all services from another IServiceBroker over named pipes on Windows or Unix domain sockets on other operating systems.

public ref class IpcRelayServiceBroker : Microsoft::ServiceHub::Framework::IRemoteServiceBroker
public class IpcRelayServiceBroker : Microsoft.ServiceHub.Framework.IRemoteServiceBroker
public class IpcRelayServiceBroker : IDisposable, Microsoft.ServiceHub.Framework.IRemoteServiceBroker
type IpcRelayServiceBroker = class
    interface IRemoteServiceBroker
type IpcRelayServiceBroker = class
    interface IRemoteServiceBroker
    interface IDisposable
Public Class IpcRelayServiceBroker
Implements IRemoteServiceBroker
Public Class IpcRelayServiceBroker
Implements IDisposable, IRemoteServiceBroker
Inheritance
IpcRelayServiceBroker
Implements

Constructors

IpcRelayServiceBroker(IServiceBroker)

Initializes a new instance of the IpcRelayServiceBroker class.

Properties

Completion

Gets a Task that completes when this instance is disposed of.

TraceSource

Gets the logging mechanism.

Methods

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.

Dispose()

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

Dispose(Boolean)

Disposes managed and unmanaged resources owned by this instance.

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

AvailabilityChanged

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

Applies to