RemoteMethodNotFoundException 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
远程 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
- 继承
- 属性
注解
检查异常消息,了解找不到方法的原因。 可能有一个方法具有匹配的名称,但它不是公共的,具有 ref 或 out 参数,或者其参数与客户端提供的参数不兼容。
构造函数
RemoteMethodNotFoundException(SerializationInfo, StreamingContext) |
初始化 RemoteMethodNotFoundException 类的新实例。 |
属性
DeserializedErrorData |
|
DeserializedErrorData |
获取或设置 |
ErrorCode |
获取响应中字段的值 |
ErrorCode |
获取或设置响应中字段的值 |
ErrorData |
|
ErrorData |
获取或设置 |
TargetMethod |
获取找不到的目标方法的名称。 |
方法
GetObjectData(SerializationInfo, StreamingContext) |
远程 RPC 异常,指示在服务器上找不到请求的目标方法。 |
GetObjectData(SerializationInfo, StreamingContext) |
远程 RPC 异常,指示在服务器上找不到请求的目标方法。 (继承自 RemoteRpcException) |