IHookableServiceJsonRpcDescriptor.CreateJsonRpcDelegate 委托
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
要用于 CreateJsonRpc 挂钩的委托。
public delegate StreamJsonRpc.JsonRpc? IHookableServiceJsonRpcDescriptor.CreateJsonRpcDelegate(IJsonRpcMessageHandler handler);
type IHookableServiceJsonRpcDescriptor.CreateJsonRpcDelegate = delegate of IJsonRpcMessageHandler -> JsonRpc
Public Delegate Function IHookableServiceJsonRpcDescriptor.CreateJsonRpcDelegate(handler As IJsonRpcMessageHandler) As JsonRpc
参数
- handler
- IJsonRpcMessageHandler
创建 JsonRpc 实例时要使用的处理程序。
返回值
如果应使用默认实现,则 JsonRpc 为 或 null。