Skip to content

[Doc] Add error code reference for EP registration results#260

Open
yeelam-gordon wants to merge 1 commit intoMicrosoftDocs:docsfrom
yeelam-gordon:fix/61791058-error-code-reference
Open

[Doc] Add error code reference for EP registration results#260
yeelam-gordon wants to merge 1 commit intoMicrosoftDocs:docsfrom
yeelam-gordon:fix/61791058-error-code-reference

Conversation

@yeelam-gordon
Copy link
Copy Markdown

@yeelam-gordon yeelam-gordon commented Apr 14, 2026

Problem

The EP initialization page shows how to call EnsureReadyAsync() but doesn't explain how to handle the return value — checking Status, using ExtendedError/DiagnosticText, or falling back to CPU.

Fix

Added a 'Handling installation results' subsection with API reference links, guidance to check Status before session creation, and a TIP about fallback strategies.

Files changed

  • docs/new-windows-ml/initialize-execution-providers.md

Documents possible ExecutionProviderReadyResultState values
beyond just Success, with handling guidance.
Fixes ADO #61791058

Co-authored-by: Copilot <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant