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

Struct BehaviorResultDescriptor

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

Namespace: Cephalon.Abstractions.Behaviors
Assembly: Cephalon.Abstractions.dll

Represents a transport-neutral behavior outcome descriptor that does not carry a payload value.

public readonly record struct BehaviorResultDescriptor : IEquatable<BehaviorResultDescriptor>

IEquatable<BehaviorResultDescriptor>

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

Gets the stable outcome code when one was supplied.

public string? Code { get; }

string?

Gets the structured fault details when the outcome is not successful.

public BehaviorFault? Fault { get; }

BehaviorFault?

Gets the human-readable outcome message.

public string? Message { get; }

string?

Gets the transport-neutral outcome status.

public BehaviorResultStatus Status { get; }

BehaviorResultStatus