Table of Contents

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

TimeSpan

ExceptionInfo

The exception details

ExceptionInfo ExceptionInfo { get; }

Property Value

ExceptionInfo

ExecutionId

The tracking number of the activity that threw the exception

Guid ExecutionId { get; }

Property Value

Guid

Host

The host where the exception was thrown

HostInfo Host { get; }

Property Value

HostInfo

Name

The name of the activity that caused the exception

string Name { get; }

Property Value

string

Timestamp

The point in time when the exception occurred

DateTime Timestamp { get; }

Property Value

DateTime