Table of Contents

Class CancelTaskResult

Namespace
ModelContextProtocol.Protocol
Assembly
ModelContextProtocol.Core.dll

Represents the result of a tasks/cancel request. This is an empty acknowledgement.

public sealed class CancelTaskResult : Result
Inheritance
CancelTaskResult
Inherited Members

Remarks

The server acknowledges the request with an empty result. Cancellation processing is eventually consistent — the task's observable status may remain Working after the ack, and may ultimately reach a terminal status other than Cancelled if the work finished before cancellation could take effect.

See the SEP-2663 specification for details.