Compartilhar via


RemoteInvocationException Construtores

Definição

Sobrecargas

RemoteInvocationException(SerializationInfo, StreamingContext)

Origem:
RemoteInvocationException.cs
Origem:
RemoteInvocationException.cs
Origem:
RemoteInvocationException.cs
Origem:
RemoteInvocationException.cs
Origem:
RemoteInvocationException.cs
Origem:
RemoteInvocationException.cs
Origem:
RemoteInvocationException.cs

Inicializa uma nova instância da classe RemoteInvocationException.

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)

Parâmetros

info
SerializationInfo

Informações de serialização.

context
StreamingContext

Contexto de streaming.

Aplica-se a

RemoteInvocationException(String, Int32, Exception)

Inicializa uma nova instância da classe RemoteInvocationException.

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)

Parâmetros

message
String

A mensagem.

errorCode
Int32

O valor do campo error.code na resposta.

innerException
Exception

A exceção desserializada gerada pelo servidor RPC.

Aplica-se a

RemoteInvocationException(String, Int32, Object)

Origem:
RemoteInvocationException.cs
Origem:
RemoteInvocationException.cs
Origem:
RemoteInvocationException.cs
Origem:
RemoteInvocationException.cs
Origem:
RemoteInvocationException.cs
Origem:
RemoteInvocationException.cs

Inicializa uma nova instância da classe RemoteInvocationException.

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)

Parâmetros

message
String

A mensagem.

errorCode
Int32

O valor do campo error.code na resposta.

errorData
Object

O valor do campo error.data na resposta.

Aplica-se a

RemoteInvocationException(String, String, String)

Origem:
RemoteInvocationException.cs

Inicializa uma nova instância da classe RemoteInvocationException.

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)

Parâmetros

message
String

A mensagem.

remoteStack
String

A pilha remota.

remoteCode
String

O código remoto.

Aplica-se a

RemoteInvocationException(String, Int32, Object, Object)

Origem:
RemoteInvocationException.cs
Origem:
RemoteInvocationException.cs
Origem:
RemoteInvocationException.cs

Inicializa uma nova instância da classe RemoteInvocationException.

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)

Parâmetros

message
String

A mensagem.

errorCode
Int32

O valor do campo error.code na resposta.

errorData
Object

O valor do campo error.data na resposta.

deserializedErrorData
Object

O valor do campo error.data na resposta, desserializado de acordo GetErrorDetailsDataType(JsonRpcError)com .

Aplica-se a

RemoteInvocationException(String, String, String, JToken)

Origem:
RemoteInvocationException.cs

Inicializa uma nova instância da classe RemoteInvocationException.

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)

Parâmetros

message
String

A mensagem.

remoteStack
String

A pilha remota.

remoteCode
String

O código remoto.

errorData
Newtonsoft.Json.Linq.JToken

O valor do campo error.data na resposta.

Aplica-se a