Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[cdac] Remove Try versions of ReadGlobal* on target #102230

Merged
merged 1 commit into from
May 15, 2024

Conversation

elinor-fung
Copy link
Member

Slight follow-up from #101994 (comment)

We settled on keeping the C# side throwing and wrapping the COM API implementations in a try/catch.
Remove Target.TryReadGlobal* and leave only the throwing versions.

cc @lambdageek

Copy link
Contributor

Tagging subscribers to this area: @tommcdon
See info in area-owners.md if you want to be subscribed.

Copy link
Member

@AaronRobinsonMSFT AaronRobinsonMSFT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks.

Is it appropriate to add this decision to a design document?

@elinor-fung
Copy link
Member Author

elinor-fung commented May 15, 2024

Is it appropriate to add this decision to a design document?

I think it is a bit lower level than I'd put in a design document. I'll put it in header comments for Target and SOSDacImpl in my next change.

@elinor-fung elinor-fung merged commit faa4f77 into dotnet:main May 15, 2024
146 of 148 checks passed
@elinor-fung elinor-fung deleted the cdac-remove-tryRead branch May 15, 2024 17:39
Ruihan-Yin pushed a commit to Ruihan-Yin/runtime that referenced this pull request May 30, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Jun 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants