Skip to content

Exceptions should be properly documented when applicable #73

@Youssef1313

Description

@Youssef1313

Seeing an exception like this doesn't give useful info:

   at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|20_0(Int32 hr)
   at ABI.Microsoft.UI.Xaml.Controls.IContentControlMethods.set_Content(IObjectReference _obj, Object value)
   at Microsoft.UI.Xaml.Controls.ContentControl.set_Content(Object value)

and the documentation doesn't mention what exceptions can be thrown from ContentControl.set_Content and when those exceptions occur.


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions