語言

RemoteInvocationException.ErrorCode 屬性

定義

在回應中取得場的 error.code 值。

public int ErrorCode { get; }
member this.ErrorCode : int
Public ReadOnly Property ErrorCode As Integer

屬性值

該值可以是任意整數。 該值可能為 InvocationError,這是用於伺服器未提供特定應用程式錯誤碼時拋出異常的一般值。

適用於