Share via


RemoteInvocationException Constructors

Definition

Overloads

RemoteInvocationException(SerializationInfo, StreamingContext)

Initializes a new instance of the RemoteInvocationException class.

RemoteInvocationException(String, Int32, Exception)

Initializes a new instance of the RemoteInvocationException class.

RemoteInvocationException(String, Int32, Object)

Initializes a new instance of the RemoteInvocationException class.

RemoteInvocationException(String, String, String)

Initializes a new instance of the RemoteInvocationException class.

RemoteInvocationException(String, Int32, Object, Object)

Initializes a new instance of the RemoteInvocationException class.

RemoteInvocationException(String, String, String, JToken)

Initializes a new instance of the RemoteInvocationException class.

RemoteInvocationException(SerializationInfo, StreamingContext)

Initializes a new instance of the RemoteInvocationException class.

protected RemoteInvocationException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new StreamJsonRpc.RemoteInvocationException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> StreamJsonRpc.RemoteInvocationException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo

Serialization info.

context
StreamingContext

Streaming context.

Applies to

RemoteInvocationException(String, Int32, Exception)

Initializes a new instance of the RemoteInvocationException class.

public RemoteInvocationException (string? message, int errorCode, Exception innerException);
new StreamJsonRpc.RemoteInvocationException : string * int * Exception -> StreamJsonRpc.RemoteInvocationException
Public Sub New (message As String, errorCode As Integer, innerException As Exception)

Parameters

message
String

The message.

errorCode
Int32

The value of the error.code field in the response.

innerException
Exception

The deserialized exception thrown by the RPC server.

Applies to

RemoteInvocationException(String, Int32, Object)

Initializes a new instance of the RemoteInvocationException class.

public RemoteInvocationException (string message, int errorCode, object errorData);
public RemoteInvocationException (string? message, int errorCode, object? errorData);
new StreamJsonRpc.RemoteInvocationException : string * int * obj -> StreamJsonRpc.RemoteInvocationException
Public Sub New (message As String, errorCode As Integer, errorData As Object)

Parameters

message
String

The message.

errorCode
Int32

The value of the error.code field in the response.

errorData
Object

The value of the error.data field in the response.

Applies to

RemoteInvocationException(String, String, String)

Initializes a new instance of the RemoteInvocationException class.

public RemoteInvocationException (string message, string remoteStack, string remoteCode);
new StreamJsonRpc.RemoteInvocationException : string * string * string -> StreamJsonRpc.RemoteInvocationException
Public Sub New (message As String, remoteStack As String, remoteCode As String)

Parameters

message
String

The message.

remoteStack
String

The remote stack.

remoteCode
String

The remote code.

Applies to

RemoteInvocationException(String, Int32, Object, Object)

Initializes a new instance of the RemoteInvocationException class.

public RemoteInvocationException (string? message, int errorCode, object? errorData, object? deserializedErrorData);
new StreamJsonRpc.RemoteInvocationException : string * int * obj * obj -> StreamJsonRpc.RemoteInvocationException
Public Sub New (message As String, errorCode As Integer, errorData As Object, deserializedErrorData As Object)

Parameters

message
String

The message.

errorCode
Int32

The value of the error.code field in the response.

errorData
Object

The value of the error.data field in the response.

deserializedErrorData
Object

The value of the error.data field in the response, deserialized according to GetErrorDetailsDataType(JsonRpcError).

Applies to

RemoteInvocationException(String, String, String, JToken)

Initializes a new instance of the RemoteInvocationException class.

public RemoteInvocationException (string message, string remoteStack, string remoteCode, Newtonsoft.Json.Linq.JToken errorData);
new StreamJsonRpc.RemoteInvocationException : string * string * string * Newtonsoft.Json.Linq.JToken -> StreamJsonRpc.RemoteInvocationException
Public Sub New (message As String, remoteStack As String, remoteCode As String, errorData As JToken)

Parameters

message
String

The message.

remoteStack
String

The remote stack.

remoteCode
String

The remote code.

errorData
Newtonsoft.Json.Linq.JToken

The value of the error.data field in the response.

Applies to