Skip to content

ExceptionCodec.SetBaseProperties(Exception, string?, string?, Exception?, int, Dictionary<object, object?>)

SetBaseProperties(Exception, string?, string?, Exception?, int, Dictionary<object, object?>)

View source
public void SetBaseProperties(Exception value, string? message, string? stackTrace, Exception? innerException, int hResult, Dictionary<object, object?>? data)
Sets base properties on the provided exception.

Parameters

valueException
The value.
messagestring?
The message.
stackTracestring?
The stack trace.
innerExceptionException?
The inner exception.
hResultint
The HResult.
dataDictionary<object, object?>
The data.