We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c80a549 commit 5fb6c10Copy full SHA for 5fb6c10
articles/cognitive-services/personalizer/includes/quickstart-sdk-csharp.md
@@ -347,7 +347,9 @@ static UserProfile GetRandomUser()
347
348
public class UserProfile
349
{
350
- public string Name { get; set; }
+ // Mark name as non serializable so that it is not part of the context features
351
+ [NonSerialized()]
352
+ public string Name;
353
public Dictionary<string, bool> DietaryPreferences { get; set; }
354
public string AvgOrderPrice { get; set; }
355
0 commit comments