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)

适用于