Struct PluginRecoveryResult
- Namespace
- AcDream.Plugin.Abstractions
- Assembly
- AcDream.Plugin.Abstractions.dll
Result of one explicit operator recovery operation.
public readonly record struct PluginRecoveryResult : IEquatable<PluginRecoveryResult>
- Implements
- Inherited Members
Constructors
PluginRecoveryResult(bool, int, int, string)
Result of one explicit operator recovery operation.
public PluginRecoveryResult(bool Accepted, int PreviousCount = 0, int CurrentCount = 0, string Message = "")
Parameters
AcceptedboolTrue when the host carried the operation out; false when it could not, for example with no session bound.
PreviousCountintHow many outstanding action references there were before the operation.
CurrentCountintHow many outstanding action references remain after the operation.
MessagestringA short explanation of what happened.
Properties
Accepted
True when the host carried the operation out; false when it could not, for example with no session bound.
public bool Accepted { get; init; }
Property Value
CurrentCount
How many outstanding action references remain after the operation.
public int CurrentCount { get; init; }
Property Value
Message
A short explanation of what happened.
public string Message { get; init; }
Property Value
PreviousCount
How many outstanding action references there were before the operation.
public int PreviousCount { get; init; }