Share via


IHookableServiceJsonRpcDescriptor Interface

Definition

Describes a ServiceJsonRpcDescriptor instance designed to support hooks for certain methods.

public interface IHookableServiceJsonRpcDescriptor
type IHookableServiceJsonRpcDescriptor = interface
Public Interface IHookableServiceJsonRpcDescriptor
Derived

Remarks

This interface allows Visual Studio to hook in to service descriptor functionality and is meant to be implemented by service descriptors used by services exposed here.

Properties

CreateJsonRpcHook

Gets the currently registered hook for CreateJsonRpc(IJsonRpcMessageHandler) method.

Methods

WithCreateJsonRpcHook(IHookableServiceJsonRpcDescriptor+CreateJsonRpcDelegate)

Clones the descriptor with a hook that will be called when a CreateJsonRpc(IJsonRpcMessageHandler) is called.

Applies to