ข้ามไปยังเนื้อหา

Class SendGridInvitationDeliveryClientResult

เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน

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

Describes the result returned by a SendGrid invitation delivery client.

public sealed class SendGridInvitationDeliveryClientResult

objectSendGridInvitationDeliveryClientResult

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

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

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

Creates a SendGrid invitation delivery client result.

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

accepted bool

A value indicating whether the SendGrid API accepted the request.

statusCode int?

The HTTP status code returned by SendGrid when one is known.

providerMessageId string?

The SendGrid 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 the SendGrid API accepted the request.

public bool Accepted { get; }

bool

Gets optional safe client metadata.

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

IReadOnlyDictionary<string, string>

Gets the SendGrid message identifier when one is known.

public string? ProviderMessageId { get; }

string?

Gets the provider-facing outcome reason.

public string? Reason { get; }

string?

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

public int? StatusCode { get; }

int?