Table of Contents

Interface IPipeContextSource<TContext>

Namespace
MassTransit
Assembly
MassTransit.Abstractions.dll

A source provides the context which is sent to the specified pipe.

public interface IPipeContextSource<out TContext> : IProbeSite where TContext : class, PipeContext

Type Parameters

TContext

The pipe context type

Inherited Members

Methods

Send(IPipe<TContext>, CancellationToken)

Send a context from the source through the specified pipe

Task Send(IPipe<out TContext> pipe, CancellationToken cancellationToken = default)

Parameters

pipe IPipe<TContext>

The destination pipe

cancellationToken CancellationToken

The cancellationToken, which should be included in the context

Returns

Task