Share via


RemoteInvocationException Class

Definition

Remote RPC exception that indicates that the server target method threw an exception.

public class RemoteInvocationException : StreamJsonRpc.RemoteRpcException
[System.Serializable]
public class RemoteInvocationException : StreamJsonRpc.RemoteRpcException
type RemoteInvocationException = class
    inherit RemoteRpcException
[<System.Serializable>]
type RemoteInvocationException = class
    inherit RemoteRpcException
Public Class RemoteInvocationException
Inherits RemoteRpcException
Inheritance
RemoteInvocationException
Attributes

Remarks

The details of the target method exception can be found on the ErrorCode and ErrorData properties.

Constructors

RemoteInvocationException(SerializationInfo, StreamingContext)

Initializes a new instance of the RemoteInvocationException class.

RemoteInvocationException(String, Int32, Exception)

Initializes a new instance of the RemoteInvocationException class.

RemoteInvocationException(String, Int32, Object, Object)

Initializes a new instance of the RemoteInvocationException class.

RemoteInvocationException(String, Int32, Object)

Initializes a new instance of the RemoteInvocationException class.

RemoteInvocationException(String, String, String, JToken)

Initializes a new instance of the RemoteInvocationException class.

RemoteInvocationException(String, String, String)

Initializes a new instance of the RemoteInvocationException 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)
RemoteErrorCode

Gets the value of the error.data.code field in the response, if that value is a string or integer.

RemoteStackTrace

Gets the value of the error.data.stack field in the response, if that value is a string.

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)
ToString()

Creates and returns a string representation of the current exception.

Applies to