RpcArgumentDeserializationException クラス

定義

引数を要求された型に逆シリアル化できない場合に TryGetArgumentByNameOrIndex(String, Int32, Type, Object) からスローされる例外。通常、非互換性またはデシリアライザーからスローされた例外が原因です。

[System.Serializable]
public class RpcArgumentDeserializationException : StreamJsonRpc.RemoteRpcException
[<System.Serializable>]
type RpcArgumentDeserializationException = class
    inherit RemoteRpcException
Public Class RpcArgumentDeserializationException
Inherits RemoteRpcException
継承
RpcArgumentDeserializationException
属性

コンストラクター

名前 説明
RpcArgumentDeserializationException(SerializationInfo, StreamingContext)

RpcArgumentDeserializationException クラスの新しいインスタンスを初期化します。

RpcArgumentDeserializationException(String, Exception)

RpcArgumentDeserializationException クラスの新しいインスタンスを初期化します。

RpcArgumentDeserializationException(String, Nullable<Int32>, Type, Exception)

RpcArgumentDeserializationException クラスの新しいインスタンスを初期化します。

RpcArgumentDeserializationException(String)

RpcArgumentDeserializationException クラスの新しいインスタンスを初期化します。

プロパティ

名前 説明
ArgumentName

逆シリアル化に失敗した JSON-RPC 要求から引数の名前を取得します (使用可能な場合)。

ArgumentPosition

逆シリアル化に失敗した JSON-RPC 要求から、引数の 0 から始まるインデックスを取得します (使用可能な場合)。

DeserializedErrorData

エラー応答の error.data 値 (指定された場合) を取得または設定します。

(継承元 RemoteRpcException)
DeserializedType

引数の逆シリアル化が試行された Type を取得します。

ErrorCode

応答内の error.code フィールドの値 (使用可能な場合) を取得または設定します。

(継承元 RemoteRpcException)
ErrorData

エラー応答の error.data 値 (指定された場合) を取得または設定します。

(継承元 RemoteRpcException)

メソッド

名前 説明
GetObjectData(SerializationInfo, StreamingContext)

引数を要求された型に逆シリアル化できない場合に TryGetArgumentByNameOrIndex(String, Int32, Type, Object) からスローされる例外。通常、非互換性またはデシリアライザーからスローされた例外が原因です。

適用対象