你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ServiceProxy 接口
public interface ServiceProxy
这是用于远程处理的基本客户端接口。 框架通过 ServiceRemotingListener 和 ServiceProxy 为从 IService 继承的所有服务协定提供远程处理基础结构。
方法摘要
修饰符和类型 | 方法和描述 |
---|---|
Class<?> |
getServiceInterfaceType()
正在远程的接口类型。 |
Service |
getServicePartitionClient()
用于向服务发送请求的服务分区客户端。 |
方法详细信息
getServiceInterfaceType
public Class> getServiceInterfaceType()
正在远程的接口类型。
Returns:
服务接口类型
getServicePartitionClient
public ServiceRemotingPartitionClient getServicePartitionClient()
用于向服务发送请求的服务分区客户端。
Returns:
ServiceProxy 使用的 ServicePartitionClient
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈