IRemoteServiceBroker 接口

定义

描述可远程处理的服务代理。

public interface class IRemoteServiceBroker
public interface IRemoteServiceBroker
type IRemoteServiceBroker = interface
Public Interface IRemoteServiceBroker
派生

方法

CancelServiceRequestAsync(Guid)

当客户端无法或不会完成与所请求服务的连接时,释放由于先前调用 RequestServiceChannelAsync(ServiceMoniker, ServiceActivationOptions, CancellationToken) 而分配的资源。

HandshakeAsync(ServiceBrokerClientMetadata, CancellationToken)

将客户端介绍到服务器,以详细说明客户端的功能。

RequestServiceChannelAsync(ServiceMoniker, ServiceActivationOptions, CancellationToken)

获取指向服务的管道。

事件

AvailabilityChanged

当自上次 AvailabilityChanged 事件以来查询的服务可能更改了可用性时发生。

适用于