McpRefreshOutcome
AgentPrism.Abstractions.dllThe result of an IMcpToolRefresher.RefreshAsync call.
public readonly struct McpRefreshOutcome : IEquatable<McpRefreshOutcome>Implements
Section titled “Implements”Inherited Members
Section titled “Inherited Members”object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Properties
Section titled “Properties”HadUnreachableServers
Section titled “ HadUnreachableServers”Whether this refresh ACTUALLY attempted to connect to at least one MCP server and failed (a network error such as a timeout or an active connection refusal). Deliberately skipping a server (a persistent configuration problem such as an invalid name/address or a missing OAuth callback configuration) is not included here — that is never the kind of situation that “fixes itself on retry”.
public required bool HadUnreachableServers { get; init; }Property Value
Section titled “Property Value”ToolCount
Section titled “ ToolCount”The total number of tools discovered in this refresh.
public required int ToolCount { get; init; }Property Value
Section titled “Property Value”Methods
Section titled “Methods”Equals(object)
Section titled “ Equals(object)”public override bool Equals(object obj)Parameters
Section titled “Parameters”obj object
Returns
Section titled “Returns”Equals(McpRefreshOutcome)
Section titled “ Equals(McpRefreshOutcome)”public bool Equals(McpRefreshOutcome other)Parameters
Section titled “Parameters”other McpRefreshOutcome
Returns
Section titled “Returns”GetHashCode()
Section titled “ GetHashCode()”public override int GetHashCode()Returns
Section titled “Returns”ToString()
Section titled “ ToString()”public override string ToString()Returns
Section titled “Returns”Operators
Section titled “Operators”operator ==(McpRefreshOutcome, McpRefreshOutcome)
Section titled “ operator ==(McpRefreshOutcome, McpRefreshOutcome)”public static bool operator ==(McpRefreshOutcome left, McpRefreshOutcome right)Parameters
Section titled “Parameters”left McpRefreshOutcome
right McpRefreshOutcome
Returns
Section titled “Returns”operator !=(McpRefreshOutcome, McpRefreshOutcome)
Section titled “ operator !=(McpRefreshOutcome, McpRefreshOutcome)”public static bool operator !=(McpRefreshOutcome left, McpRefreshOutcome right)Parameters
Section titled “Parameters”left McpRefreshOutcome
right McpRefreshOutcome