Table of Contents

Class AgentExtensions

Namespace
MassTransit
Assembly
MassTransit.Abstractions.dll
public static class AgentExtensions
Inheritance
AgentExtensions
Inherited Members

Methods

Stop(IAgent, string, CancellationToken)

Stop the agent, using the default StopContext

public static Task Stop(this IAgent agent, string reason, CancellationToken cancellationToken = default)

Parameters

agent IAgent
reason string

The reason for stopping the agent

cancellationToken CancellationToken

Returns

Task

Stop(IAgent, CancellationToken)

Stop the agent, using the default StopContext

public static Task Stop(this IAgent agent, CancellationToken cancellationToken = default)

Parameters

agent IAgent
cancellationToken CancellationToken

Returns

Task