Skip to content

Class MicrosoftGraphInvitationDeliveryClientResult

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

Describes the result returned by a Microsoft Graph invitation delivery client.

public sealed class MicrosoftGraphInvitationDeliveryClientResult

objectMicrosoftGraphInvitationDeliveryClientResult

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

MicrosoftGraphInvitationDeliveryClientResult(bool, int?, string?, string?, IReadOnlyDictionary<string, string>?)

Section titled “ MicrosoftGraphInvitationDeliveryClientResult(bool, int?, string?, string?, IReadOnlyDictionary<string, string>?)”

Creates a Microsoft Graph invitation delivery client result.

public MicrosoftGraphInvitationDeliveryClientResult(bool accepted, int? statusCode = null, string? providerMessageId = null, string? reason = null, IReadOnlyDictionary<string, string>? metadata = null)

accepted bool

A value indicating whether Microsoft Graph accepted the request.

statusCode int?

The HTTP status code returned by Microsoft Graph when one is known.

providerMessageId string?

The provider message identifier when one is known.

reason string?

The provider-facing outcome reason.

metadata IReadOnlyDictionary<string, string>?

Optional safe client metadata.

Gets a value indicating whether Microsoft Graph accepted the request.

public bool Accepted { get; }

bool

Gets optional safe client metadata.

public IReadOnlyDictionary<string, string> Metadata { get; }

IReadOnlyDictionary<string, string>

Gets the provider message identifier when one is known.

public string? ProviderMessageId { get; }

string?

Microsoft Graph sendMail normally returns 202 Accepted without a message id. Implementations should leave this value empty unless they have a real provider message identifier rather than a request-id header.

Gets the provider-facing outcome reason.

public string? Reason { get; }

string?

Gets the HTTP status code returned by Microsoft Graph when one is known.

public int? StatusCode { get; }

int?