Table of Contents

Class CancelFrame

Namespace
KernLab.Cell.Contracts
Assembly
KernLab.Cell.Contracts.dll

取消(宿主 → 容器):无应答——结果以 Result 帧错误码 Cancelled 收场。

[WireMessageTag(64)]
public sealed record CancelFrame : CellFrame, IEquatable<CellFrame>, IEquatable<CancelFrame>
Inheritance
CancelFrame
Implements
Inherited Members

Constructors

CancelFrame()

public CancelFrame()

Properties

CallId

被取消的 CallId。

public required ulong CallId { get; init; }

Property Value

ulong

EqualityContract

protected override Type EqualityContract { get; }

Property Value

Type

Methods

Equals(CancelFrame?)

public bool Equals(CancelFrame? other)

Parameters

other CancelFrame

Returns

bool

Equals(CellFrame?)

public override sealed bool Equals(CellFrame? other)

Parameters

other CellFrame

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

PrintMembers(StringBuilder)

protected override bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

ToString()

public override string ToString()

Returns

string

Operators

operator ==(CancelFrame?, CancelFrame?)

public static bool operator ==(CancelFrame? left, CancelFrame? right)

Parameters

left CancelFrame
right CancelFrame

Returns

bool

operator !=(CancelFrame?, CancelFrame?)

public static bool operator !=(CancelFrame? left, CancelFrame? right)

Parameters

left CancelFrame
right CancelFrame

Returns

bool