Skip to content

Interface IMicrosoftGraphInvitationDeliveryClient

Namespace: Cephalon.MultiTenancy.Governance.MicrosoftGraphDelivery.Services
Assembly: Cephalon.MultiTenancy.Governance.MicrosoftGraphDelivery.dll

Sends Microsoft Graph invitation delivery messages for the Microsoft Graph companion pack.

public interface IMicrosoftGraphInvitationDeliveryClient

Hosts can replace this service to route sendMail requests through a custom Graph SDK client, test double, gateway, or platform-specific HTTP policy while retaining the same Cephalon invitation dispatcher and sender metadata contract.

SendAsync(MicrosoftGraphInvitationDeliveryMessage, CancellationToken)

Section titled “ SendAsync(MicrosoftGraphInvitationDeliveryMessage, CancellationToken)”

Sends one Microsoft Graph invitation delivery message.

ValueTask<MicrosoftGraphInvitationDeliveryClientResult> SendAsync(MicrosoftGraphInvitationDeliveryMessage message, CancellationToken cancellationToken = default)

message MicrosoftGraphInvitationDeliveryMessage

The message prepared by the Microsoft Graph invitation delivery sender.

cancellationToken CancellationToken

A token that cancels the send operation.

ValueTask<MicrosoftGraphInvitationDeliveryClientResult>

The client result normalized for Cephalon sender reporting.