Hi @Kenneth Zhang ,
When you create a custom vision resource you will be creating two resources, one training and other prediction.
You need to get the keys and endpoint from Keys and Endpoint pages, under Resource Management like mentioned here from both training and prediction resource.
Training resource
Prediction resource
So, in your case it's just
string predictionEndpoint = "https://visionkennyai-prediction.cognitiveservices.azure.com"
Please try above and let me know if you have any query.
UPDATE
Issue: Using prediction endpoint in C# sdk giving error Operation returned an invalid status code 'NotFound'
Solution: Replacing the default model name with published model name resolved the issues.
Thank you