Прочетете на английски

Споделяне чрез


LocalRpcException Class

Definition

An exception that may be thrown within a locally invoked server method, and carries with it data that influences the JSON-RPC error message's error object.

C#
public class LocalRpcException : Exception
Inheritance
LocalRpcException

Constructors

LocalRpcException()

Initializes a new instance of the LocalRpcException class.

LocalRpcException(String, Exception)

Initializes a new instance of the LocalRpcException class.

LocalRpcException(String)

Initializes a new instance of the LocalRpcException class.

Properties

ErrorCode

Gets or sets the value for the error.code property.

ErrorData

Gets or sets the value for the error.data property.

Applies to

Продукт Версии
StreamJsonRpc 2.0, 2.1, 2.2, 2.3, 2.4, 2.5, 2.6, 2.7, 2.8, 2.9