Definition
Assembly: ModelContextProtocol.dll Namespace: Microsoft.Extensions.DependencyInjectionSyntax
Summary
This type is defined in ModelContextProtocol.Methods
WithODataCatalogHandlers Extension
Extension method from
Microsoft.Extensions.DependencyInjection.ODataMcp_Core_McpServerBuilderExtensionsSyntax
Parameters
Returns
Type:Microsoft.Extensions.DependencyInjection.IMcpServerBuilder
The builder.
Exceptions
Examples
Remarks
tryHandleCallException exists so a host can recover from a failure Core has no vocabulary for — an outbound sign-in that needs a human, for instance — without Core learning anything about authentication: it is handed the exception and either answers the call or returnsnull, in which case the original exception propagates unchanged.