Skip to content

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 ISendGridInvitationDeliveryClient

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.

SendAsync(SendGridInvitationDeliveryMessage, CancellationToken)

Section titled “ SendAsync(SendGridInvitationDeliveryMessage, CancellationToken)”

Sends one SendGrid invitation delivery message.

ValueTask<SendGridInvitationDeliveryClientResult> SendAsync(SendGridInvitationDeliveryMessage message, CancellationToken cancellationToken = default)

message SendGridInvitationDeliveryMessage

The message prepared by the SendGrid invitation delivery sender.

cancellationToken CancellationToken

A token that cancels the send operation.

ValueTask<SendGridInvitationDeliveryClientResult>

The client result normalized for Cephalon sender reporting.