Interface RequestHandle<TRequest>
- Namespace
- MassTransit
- Assembly
- MassTransit.Abstractions.dll
A request handle manages the client-side request, and allows the request to be configured, response types added, etc. The handle should be disposed once it is no longer in-use, and the request has been completed (successfully, or otherwise).
public interface RequestHandle<TRequest> : RequestHandle, IDisposable, IRequestPipeConfigurator<TRequest>, IRequestPipeConfigurator, IPipeConfigurator<SendContext<TRequest>> where TRequest : class
Type Parameters
TRequest
The request type
- Inherited Members
- Extension Methods
Properties
Message
The request message that was/will be sent.
Task<TRequest> Message { get; }
Property Value
- Task<TRequest>