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

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


LocalRpcException Constructors

Definition

Overloads

LocalRpcException()

Initializes a new instance of the LocalRpcException class.

LocalRpcException(String)

Initializes a new instance of the LocalRpcException class.

LocalRpcException(String, Exception)

Initializes a new instance of the LocalRpcException class.

LocalRpcException()

Initializes a new instance of the LocalRpcException class.

C#
public LocalRpcException ();

Applies to

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

LocalRpcException(String)

Initializes a new instance of the LocalRpcException class.

C#
public LocalRpcException (string message);
C#
public LocalRpcException (string? message);

Parameters

message
String

The error message that explains the reason for the exception.

Applies to

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

LocalRpcException(String, Exception)

Initializes a new instance of the LocalRpcException class.

C#
public LocalRpcException (string message, Exception inner);
C#
public LocalRpcException (string? message, Exception? inner);

Parameters

message
String

The error message that explains the reason for the exception.

inner
Exception

The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.

Applies to

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