ExceptionExtensions.SetData method
namespace: Serenity assembly: Serenity.Net.Core
Sets custom exception data with given property name and value. Sets the data in base exception.
public static void SetData(this Exception exception, string property, object value)
parameter | description |
---|---|
exception | Exception to set custom data in. |
property | Custom exception data name. |
value | Custom exception data value. |
See Also
- class ExceptionExtensions