BadRpcHeaderException 類別

定義

當還原序列化訊息有不正確的標頭時,所擲回的例外狀況。

public class BadRpcHeaderException : StreamJsonRpc.RemoteRpcException
[System.Serializable]
public class BadRpcHeaderException : StreamJsonRpc.RemoteRpcException
type BadRpcHeaderException = class
    inherit RemoteRpcException
[<System.Serializable>]
type BadRpcHeaderException = class
    inherit RemoteRpcException
Public Class BadRpcHeaderException
Inherits RemoteRpcException
繼承
BadRpcHeaderException
屬性

建構函式

BadRpcHeaderException(SerializationInfo, StreamingContext)

初始化 BadRpcHeaderException 類別的新執行個體。

BadRpcHeaderException(String, Exception)

初始化 BadRpcHeaderException 類別的新執行個體。

BadRpcHeaderException(String)

初始化 BadRpcHeaderException 類別的新執行個體。

屬性

DeserializedErrorData

如果提供錯誤回應,取得或設定 error.data 值。

(繼承來源 RemoteRpcException)
ErrorCode

取得或設定回應中欄位的值 error.code ,如果有的話。

(繼承來源 RemoteRpcException)
ErrorData

如果提供錯誤回應,取得或設定 error.data 值。

(繼承來源 RemoteRpcException)

方法

GetObjectData(SerializationInfo, StreamingContext)

當還原序列化訊息有不正確的標頭時,所擲回的例外狀況。

(繼承來源 RemoteRpcException)

適用於

另請參閱