共用方式為


RemoteInvocationException 建構函式

定義

多載

RemoteInvocationException(SerializationInfo, StreamingContext)

初始化 RemoteInvocationException 類別的新執行個體。

RemoteInvocationException(String, Int32, Exception)

初始化 RemoteInvocationException 類別的新執行個體。

RemoteInvocationException(String, Int32, Object)

初始化 RemoteInvocationException 類別的新執行個體。

RemoteInvocationException(String, String, String)

初始化 RemoteInvocationException 類別的新執行個體。

RemoteInvocationException(String, Int32, Object, Object)

初始化 RemoteInvocationException 類別的新執行個體。

RemoteInvocationException(String, String, String, JToken)

初始化 RemoteInvocationException 類別的新執行個體。

RemoteInvocationException(SerializationInfo, StreamingContext)

初始化 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)

參數

info
SerializationInfo

序列化資訊。

context
StreamingContext

串流內容。

適用於

RemoteInvocationException(String, Int32, Exception)

初始化 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)

參數

message
String

訊息。

errorCode
Int32

回應中 error.code 欄位的值。

innerException
Exception

RPC 伺服器擲回的還原序列化例外狀況。

適用於

RemoteInvocationException(String, Int32, Object)

初始化 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)

參數

message
String

訊息。

errorCode
Int32

回應中 error.code 欄位的值。

errorData
Object

回應中 error.data 欄位的值。

適用於

RemoteInvocationException(String, String, String)

初始化 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)

參數

message
String

訊息。

remoteStack
String

遠端堆疊。

remoteCode
String

遠端程式碼。

適用於

RemoteInvocationException(String, Int32, Object, Object)

初始化 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)

參數

message
String

訊息。

errorCode
Int32

回應中 error.code 欄位的值。

errorData
Object

回應中 error.data 欄位的值。

deserializedErrorData
Object

回應中 error.data 欄位的值,根據 GetErrorDetailsDataType(JsonRpcError) 還原序列化。

適用於

RemoteInvocationException(String, String, String, JToken)

初始化 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)

參數

message
String

訊息。

remoteStack
String

遠端堆疊。

remoteCode
String

遠端程式碼。

errorData
Newtonsoft.Json.Linq.JToken

回應中 error.data 欄位的值。

適用於