Share via


IJsonRpcMessageFactory Interface

Definition

An interface that allows IJsonRpcMessageFormatter instances to act as a factory for JsonRpcMessage-derived types.

public interface IJsonRpcMessageFactory
type IJsonRpcMessageFactory = interface
Public Interface IJsonRpcMessageFactory
Derived

Methods

CreateErrorMessage()

Creates an instance of JsonRpcError suitable for transmission over the IJsonRpcMessageFormatter.

CreateRequestMessage()

Creates an instance of JsonRpcRequest suitable for transmission over the IJsonRpcMessageFormatter.

CreateResultMessage()

Creates an instance of JsonRpcResult suitable for transmission over the IJsonRpcMessageFormatter.

Applies to