RemoteMethodNotFoundException 類別

定義

遠端 RPC 例外狀況,指出伺服器上找不到要求的目標方法。

public class RemoteMethodNotFoundException : StreamJsonRpc.RemoteRpcException
[System.Serializable]
public class RemoteMethodNotFoundException : StreamJsonRpc.RemoteRpcException
type RemoteMethodNotFoundException = class
    inherit RemoteRpcException
[<System.Serializable>]
type RemoteMethodNotFoundException = class
    inherit RemoteRpcException
Public Class RemoteMethodNotFoundException
Inherits RemoteRpcException
繼承
RemoteMethodNotFoundException
屬性

備註

請檢查例外狀況訊息,以瞭解找不到方法的原因。 可能有一個具有相符名稱的方法,但不是公用、具有 ref 或 out 參數,或其引數與用戶端所提供的引數不相容。

建構函式

RemoteMethodNotFoundException(SerializationInfo, StreamingContext)

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

屬性

DeserializedErrorData

error.data如果已提供錯誤回應,則取得錯誤回應中的值。

DeserializedErrorData

如果提供錯誤回應,則取得或設定 error.data 值。

(繼承來源 RemoteRpcException)
ErrorCode

取得回應中欄位的值 error.code

ErrorCode

取得或設定回應中欄位的值 error.code ,如果有的話。

(繼承來源 RemoteRpcException)
ErrorData

error.data如果已提供錯誤回應,則取得錯誤回應中的值。

ErrorData

如果提供錯誤回應,則取得或設定 error.data 值。

(繼承來源 RemoteRpcException)
TargetMethod

取得找不到的目標方法名稱。

方法

GetObjectData(SerializationInfo, StreamingContext)

遠端 RPC 例外狀況,指出伺服器上找不到要求的目標方法。

GetObjectData(SerializationInfo, StreamingContext)

遠端 RPC 例外狀況,指出伺服器上找不到要求的目標方法。

(繼承來源 RemoteRpcException)

適用於