Interface ISendGridInvitationDeliveryClient
Namespace: Cephalon.MultiTenancy.Governance.SendGridDelivery.Services
Assembly: Cephalon.MultiTenancy.Governance.SendGridDelivery.dll
Sends SendGrid invitation delivery messages for the SendGrid companion pack.
public interface ISendGridInvitationDeliveryClientRemarks
Section titled “Remarks”Hosts can replace this service to route Mail Send requests through a custom SendGrid client, test double, gateway, or platform-specific HTTP policy while retaining the same Cephalon invitation dispatcher and sender metadata contract.
Methods
Section titled “Methods”SendAsync(SendGridInvitationDeliveryMessage, CancellationToken)
Section titled “ SendAsync(SendGridInvitationDeliveryMessage, CancellationToken)”Sends one SendGrid invitation delivery message.
ValueTask<SendGridInvitationDeliveryClientResult> SendAsync(SendGridInvitationDeliveryMessage message, CancellationToken cancellationToken = default)Parameters
Section titled “Parameters”message SendGridInvitationDeliveryMessage
The message prepared by the SendGrid invitation delivery sender.
cancellationToken CancellationToken
A token that cancels the send operation.
Returns
Section titled “Returns”ValueTask<SendGridInvitationDeliveryClientResult>
The client result normalized for Cephalon sender reporting.