Skip to content

Commit 0312e40

Browse files
dotnet userfeedback (#13794)
We should do a rename on all of the docs for `CaptureUserFeedback` since the API is deprecated. @jamescrosswell does this overload exist? I quickly looked the API and it takes `UserFeedback` as an argument. Calling `CaptureFeedback(new Feedback` is pretty cumbersome --------- Co-authored-by: James Crosswell <[email protected]>
1 parent ffad77b commit 0312e40

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

docs/platforms/unity/user-feedback/index.mdx

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,11 @@ User Feedback for **[ASP.NET](/platforms/dotnet/guides/aspnet/user-feedback/#int
1515

1616
</Alert>
1717

18-
You can create a form to collect the user input in your preferred framework, and use the SDK's API to send the information to Sentry. You can also use the widget, as described below. If you'd prefer an alternative to the widget or do not have a JavaScript frontend, you can use this API:
18+
You can create a form to collect the user input in your preferred framework, and use the SDK's API to send the information to Sentry. You can also use the widget, as described below. If you'd prefer an alternative to the widget or do not have a web frontend, you can use this API:
1919

2020
```csharp {tabTitle:C#}
2121
var eventId = SentrySdk.CaptureMessage("An event that will receive user feedback.");
2222

23-
SentrySdk.CaptureUserFeedback(eventId, "[email protected]", "It broke.", "The User");
23+
SentrySdk.CaptureFeedback("It broke.", "[email protected]", "The User", associatedEventId: eventId);
2424
```
2525

26-
```fsharp {tabTitle:F#}
27-
open Sentry
28-
29-
let eventId = SentrySdk.CaptureMessage("An event that will receive user feedback.")
30-
31-
SentrySdk.CaptureUserFeedback(eventId, "[email protected]", "It broke.", "The User")
32-
```

0 commit comments

Comments
 (0)