Class TraceData
Contains all kinds of data that the server could generate while handling a request.
[Serializable]
public class TraceData
- Inheritance
-
TraceData
- Extension Methods
Constructors
- TraceData()
Initializes a new instance of the TraceData class.
Fields
- ErrorData
Gets the error data that was generated while handling the request.
- InfoData
Gets the info data that was generated while handling the request.
- WarningData
Gets the warning data that was generated while handling the request.
Methods
- Add(ITracingData)
Adds the specified trace data.
- Add(TraceData)
Adds the specified trace data.
- AddRange(IEnumerable<ITracingData>)
Adds the specified trace data range.
- GetErrorDataOfType<T>()
Retrieves the error data objects of the specified type.
- HasSucceeded()
Retrieves a value indicating whether the operation succeeded.
- HasWarnings()
Retrieves a value indicating whether the warning data is empty.
- IsEmpty()
Retrieves a value indicating whether the error, info and warning data is empty.
- ToString()
Returns a string that represents the current object.