Skip to main content

Definition

Assembly: Microsoft.OData.Mcp.AspNetCore.dll Namespace: Microsoft.OData.Mcp.AspNetCore.HealthChecks Inheritance: System.Object

Syntax

Summary

Health check for the MCP server functionality.

Remarks

This health check verifies that the core MCP server components are functioning correctly, including metadata parsing, tool registration, and basic connectivity.

Constructors

.ctor

Initializes a new instance of the McpServerHealthCheck class.

Syntax

Parameters

Exceptions

.ctor Inherited

Inherited from object

Syntax

Methods

CheckHealthAsync

Checks the health of the MCP server.

Syntax

Parameters

Returns

Type: System.Threading.Tasks.Task<Microsoft.Extensions.Diagnostics.HealthChecks.HealthCheckResult> A task that represents the asynchronous health check operation.

Equals Inherited Virtual

Inherited from object

Syntax

Parameters

Returns

Type: bool

Equals Inherited

Inherited from object

Syntax

Parameters

Returns

Type: bool

GetHashCode Inherited Virtual

Inherited from object

Syntax

Returns

Type: int

GetType Inherited

Inherited from object

Syntax

Returns

Type: System.Type

MemberwiseClone Inherited

Inherited from object

Syntax

Returns

Type: object

ReferenceEquals Inherited

Inherited from object

Syntax

Parameters

Returns

Type: bool

ToString Inherited Virtual

Inherited from object

Syntax

Returns

Type: string?
  • Microsoft.Extensions.Diagnostics.HealthChecks.IHealthCheck