ServiceJsonRpcDescriptor<T> 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
支持 JSON-RPC 的服务的 RPC 描述符。
generic <typename T>
where T : classpublic ref class ServiceJsonRpcDescriptor : Microsoft::ServiceHub::Framework::ServiceJsonRpcDescriptor
[System.Diagnostics.DebuggerDisplay("{DebuggerDisplay,nq}")]
public class ServiceJsonRpcDescriptor<T> : Microsoft.ServiceHub.Framework.ServiceJsonRpcDescriptor where T : class
[<System.Diagnostics.DebuggerDisplay("{DebuggerDisplay,nq}")>]
type ServiceJsonRpcDescriptor<'T (requires 'T : null)> = class
inherit ServiceJsonRpcDescriptor
Public Class ServiceJsonRpcDescriptor(Of T)
Inherits ServiceJsonRpcDescriptor
类型参数
- T
用于调用服务的 RPC 接口。
- 继承
- 属性
构造函数
属性
ClientInterface |
获取客户端的“回调”RPC 目标应实现的接口类型。 (继承自 ServiceRpcDescriptor) |
ExceptionStrategy |
获取异常从服务到客户端的通信方式。 创建实例时JsonRpc,ExceptionStrategy这会在 属性上设置。 (继承自 ServiceJsonRpcDescriptor) |
Formatter |
获取服务使用的格式设置。 (继承自 ServiceJsonRpcDescriptor) |
JoinableTaskFactory |
JoinableTaskFactory获取可应用于构造的 RPC 连接的 。 (继承自 ServiceRpcDescriptor) |
MessageDelimiter |
获取可识别消息边界的机制。 在 中找到 ServiceJsonRpcDescriptor.MessageDelimiters一些预期值。 (继承自 ServiceJsonRpcDescriptor) |
Moniker |
获取服务的名称对象。 (继承自 ServiceRpcDescriptor) |
MultiplexingStream |
Nerdbank.Streams.MultiplexingStream获取可由构造的客户端或服务器使用的 。 (继承自 ServiceRpcDescriptor) |
MultiplexingStreamOptions |
获取在创建新 Nerdbank.Streams.MultiplexingStream 作为建立 RPC 连接的先决条件时要使用的选项。 (继承自 ServiceJsonRpcDescriptor) |
Protocol |
获取此实例支持的协议的非本地化名称。 (继承自 ServiceJsonRpcDescriptor) |
TraceSource |
TraceSource获取要用于已构造客户端或服务器的 。 (继承自 ServiceRpcDescriptor) |