IHookableServiceJsonRpcDescriptor.CreateJsonRpcDelegate 委托

定义

要用于 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。

适用于