JsonSerializerError Method |
Create and populate a standard platform JSON error object of type "error".
Namespace:
NetQuarry
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public static JsonSerializer Error(
string message,
LogMessageLevel severity
)
Public Shared Function Error (
message As String,
severity As LogMessageLevel
) As JsonSerializer
Parameters
- message
- Type: SystemString
The error message to set in the "message" property. - severity
- Type: NetQuarryLogMessageLevel
The error severity to set in the "severity" property, an int.
Return Value
Type:
JsonSerializerThe newly created JSON err object.
See Also