Table of Contents

Class RemoteExceptionData

Namespace
Nerdbank.JsonRpc
Assembly
Nerdbank.JsonRpc.dll

Describes exception details reported by a remote JSON-RPC peer.

public sealed class RemoteExceptionData
Inheritance
RemoteExceptionData
Inherited Members

Properties

Children

Gets all aggregate children, if the exception is an AggregateException.

public IReadOnlyList<RemoteExceptionData> Children { get; }

Property Value

IReadOnlyList<RemoteExceptionData>

Data

Gets string-valued entries from Data.

public IReadOnlyDictionary<string, string> Data { get; }

Property Value

IReadOnlyDictionary<string, string>

HResult

Gets the remote exception HRESULT.

public int HResult { get; }

Property Value

int

Inner

Gets the first causal exception, if present.

public RemoteExceptionData? Inner { get; }

Property Value

RemoteExceptionData

Message

Gets the remote exception message.

public string Message { get; }

Property Value

string

ParameterName

Gets the argument name for an ArgumentException, if present.

public string? ParameterName { get; }

Property Value

string

StackTrace

Gets the remote stack text, which is diagnostic data and not a local stack trace.

public string? StackTrace { get; }

Property Value

string

TypeName

Gets the remote exception's assembly-independent CLR full name.

public string TypeName { get; }

Property Value

string