Search Results for

    Show / Hide Table of Contents

    Class MicrosoftGraphClient

    Client that handles all Microsoft Graph requests

    Inheritance
    System.Object
    MicrosoftGraphClient
    Namespace: PnP.Core.Services
    Assembly: PnP.Core.dll
    Syntax
    public class MicrosoftGraphClient : object

    Constructors

    MicrosoftGraphClient(HttpClient, ILogger<MicrosoftGraphClient>, IOptions<PnPGlobalSettingsOptions>)

    Constructs the Microsoft Graph http client

    Declaration
    public MicrosoftGraphClient(HttpClient client, ILogger<MicrosoftGraphClient> log, IOptions<PnPGlobalSettingsOptions> options)
    Parameters
    HttpClient client

    Http client instance

    ILogger<MicrosoftGraphClient> log

    Logger

    IOptions<PnPGlobalSettingsOptions> options

    Settings to configure the http client

    Properties

    Client

    Returns the configured Microsoft Graph http client

    Declaration
    public HttpClient Client { get; }
    Property Value
    HttpClient

    Back to top PnP Core SDK
    Generated by DocFX with Material UI
    spacer