語言

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
屬性

建構函式

名稱 Description
BadRpcHeaderException(SerializationInfo, StreamingContext)

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

BadRpcHeaderException(String, Exception)

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

BadRpcHeaderException(String)

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

屬性

名稱 Description
DeserializedErrorData

取得或設定 error.data 錯誤回應中的值(若有提供)。

(繼承來源 RemoteRpcException)
ErrorCode

若有欄位可用,則取得或設定回應欄位的值 error.code 。

(繼承來源 RemoteRpcException)
ErrorData

取得或設定 error.data 錯誤回應中的值(若有提供)。

(繼承來源 RemoteRpcException)

方法

名稱 Description
GetObjectData(SerializationInfo, StreamingContext)

當反序列化訊息有錯誤標頭時,會拋出一個例外。

(繼承來源 RemoteRpcException)

適用於

另請參閱