Interface JobContext
- Namespace
- MassTransit
- Assembly
- MassTransit.Abstractions.dll
public interface JobContext : PipeContext, MessageContext, ISendEndpointProvider, ISendObserverConnector, IPublishEndpoint, IPublishObserverConnector
- Inherited Members
- Extension Methods
Properties
AttemptId
Guid AttemptId { get; }
Property Value
ElapsedTime
TimeSpan ElapsedTime { get; }
Property Value
JobId
Guid JobId { get; }
Property Value
RetryAttempt
int RetryAttempt { get; }
Property Value
Methods
NotifyCanceled(string?)
Task NotifyCanceled(string? reason = null)
Parameters
reason
string
Returns
NotifyCompleted()
Task NotifyCompleted()
Returns
NotifyFaulted(Exception, TimeSpan?)
Task NotifyFaulted(Exception exception, TimeSpan? delay = null)
Parameters
Returns
NotifyStarted()
Task NotifyStarted()