Interface ActivityException
- Namespace
- MassTransit.Courier.Contracts
- Assembly
- MassTransit.Abstractions.dll
Capture the exception information thrown by an activity
public interface ActivityException
Properties
Elapsed
The time from when the routing slip was created until the exception occurred
TimeSpan Elapsed { get; }
Property Value
ExceptionInfo
The exception details
ExceptionInfo ExceptionInfo { get; }
Property Value
ExecutionId
The tracking number of the activity that threw the exception
Guid ExecutionId { get; }
Property Value
Host
The host where the exception was thrown
HostInfo Host { get; }
Property Value
Name
The name of the activity that caused the exception
string Name { get; }
Property Value
Timestamp
The point in time when the exception occurred
DateTime Timestamp { get; }