Share via


RemoteMethodNotFoundException Class

Definition

Remote RPC exception that indicates that the requested target method was not found on the server.

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
Inheritance
RemoteMethodNotFoundException
Attributes

Remarks

Check the exception message for the reasons why the method was not found. It's possible that there was a method with the matching name, but it was not public, had ref or out params, or its arguments were incompatible with the arguments supplied by the client.

Constructors

RemoteMethodNotFoundException(SerializationInfo, StreamingContext)

Initializes a new instance of the RemoteMethodNotFoundException class.

Properties

DeserializedErrorData

Gets the error.data value in the error response, if one was provided.

DeserializedErrorData

Gets or sets the error.data value in the error response, if one was provided.

(Inherited from RemoteRpcException)
ErrorCode

Gets the value of the error.code field in the response.

ErrorCode

Gets or sets the value of the error.code field in the response, if one is available.

(Inherited from RemoteRpcException)
ErrorData

Gets the error.data value in the error response, if one was provided.

ErrorData

Gets or sets the error.data value in the error response, if one was provided.

(Inherited from RemoteRpcException)
TargetMethod

Gets the name of the target method that was not found.

Methods

GetObjectData(SerializationInfo, StreamingContext)
Obsolete.

When overridden in a derived class, sets the SerializationInfo with information about the exception.

GetObjectData(SerializationInfo, StreamingContext) (Inherited from RemoteRpcException)

Applies to