Click or drag to resize

JsonRpcServiceHostBuilderRegister Method (Type)

[This is preliminary documentation and is subject to change.]

Registers all the exposed JSON PRC methods in the specified service object type.

Namespace:  JsonRpc.Server
Assembly:  JsonRpc.Commons (in JsonRpc.Commons.dll) Version: 0.5.4+1bad715934a0ae5922832940ca44bbbdaa509cfe
Syntax
public void Register(
	Type serviceType
)

Parameters

serviceType
Type: SystemType
A subtype of JsonRpcService.
Exceptions
ExceptionCondition
ArgumentNullExceptionserviceType is null.
ArgumentExceptionserviceType is not a derived type from JsonRpcService.
See Also