Sdílet prostřednictvím


RemoteInvocationException Konstruktory

Definice

Přetížení

RemoteInvocationException(SerializationInfo, StreamingContext)

Inicializuje novou instanci RemoteInvocationException třídy.

RemoteInvocationException(String, Int32, Exception)

Inicializuje novou instanci RemoteInvocationException třídy.

RemoteInvocationException(String, Int32, Object)

Inicializuje novou instanci RemoteInvocationException třídy.

RemoteInvocationException(String, String, String)

Inicializuje novou instanci RemoteInvocationException třídy.

RemoteInvocationException(String, Int32, Object, Object)

Inicializuje novou instanci RemoteInvocationException třídy.

RemoteInvocationException(String, String, String, JToken)

Inicializuje novou instanci RemoteInvocationException třídy.

RemoteInvocationException(SerializationInfo, StreamingContext)

Inicializuje novou instanci RemoteInvocationException třídy.

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)

Parametry

info
SerializationInfo

Informace o serializaci

context
StreamingContext

Kontext streamování

Platí pro

RemoteInvocationException(String, Int32, Exception)

Inicializuje novou instanci RemoteInvocationException třídy.

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)

Parametry

message
String

Zpráva

errorCode
Int32

Hodnota pole error.code v odpovědi.

innerException
Exception

Deserializovaná výjimka vyvolána serverem RPC.

Platí pro

RemoteInvocationException(String, Int32, Object)

Inicializuje novou instanci RemoteInvocationException třídy.

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)

Parametry

message
String

Zpráva

errorCode
Int32

Hodnota pole error.code v odpovědi.

errorData
Object

Hodnota pole error.data v odpovědi.

Platí pro

RemoteInvocationException(String, String, String)

Inicializuje novou instanci RemoteInvocationException třídy.

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)

Parametry

message
String

Zpráva

remoteStack
String

Vzdálený zásobník.

remoteCode
String

Vzdálený kód.

Platí pro

RemoteInvocationException(String, Int32, Object, Object)

Inicializuje novou instanci RemoteInvocationException třídy.

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)

Parametry

message
String

Zpráva

errorCode
Int32

Hodnota pole error.code v odpovědi.

errorData
Object

Hodnota pole error.data v odpovědi.

deserializedErrorData
Object

Hodnota pole error.data v odpovědi deserializována podle GetErrorDetailsDataType(JsonRpcError).

Platí pro

RemoteInvocationException(String, String, String, JToken)

Inicializuje novou instanci RemoteInvocationException třídy.

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)

Parametry

message
String

Zpráva

remoteStack
String

Vzdálený zásobník.

remoteCode
String

Vzdálený kód.

errorData
Newtonsoft.Json.Linq.JToken

Hodnota pole error.data v odpovědi.

Platí pro