Valid MS-600 Dumps shared by ExamDiscuss.com for Helping Passing MS-600 Exam! ExamDiscuss.com now offer the newest MS-600 exam dumps, the ExamDiscuss.com MS-600 exam questions have been updated and answers have been corrected get the newest ExamDiscuss.com MS-600 dumps with Test Engine here:
You need to build a SharePoint Framework (SPFx) web part that will display the contents of a user's Microsoft Exchange Online inbox. The solution must minimize development effort. Which object should you include in the solution?
Correct Answer: C
MSGraphClient is a new HTTP client introduced in SharePoint Framework v1.6.0 that simplifies connecting to the Microsoft Graph inside SharePoint Framework solutions. With MS Graph we use MSGraphClient to get information about the current user; this.context.msGraphClientFactory .getClient() .then((client: MSGraphClient): void => { // get information about the current user from the Microsoft Graph client .api('/me') .get((error, response: any, rawResponse?: any) => { // handle the response }); }); Reference: https://www.c-sharpcorner.com/article/show-outlook-messages-from-microsoft-graph-in-spfx-client-side-web-part/