Search Results for

    Show / Hide Table of Contents

    Class PnPGlobalSettingsOptions

    PnP Core SDK settings class

    Inheritance
    object
    PnPGlobalSettingsOptions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: PnP.Core.Services
    Assembly: PnP.Core.dll
    Syntax
    public class PnPGlobalSettingsOptions

    Constructors

    PnPGlobalSettingsOptions()

    Default constructor

    Declaration
    public PnPGlobalSettingsOptions()

    Properties

    AADTenantId

    AAD tenant id, used for telemetry purposes. Can be customized via configuration

    Declaration
    public Guid AADTenantId { get; set; }
    Property Value
    Guid

    AzureADLoginAuthority

    Returns the Azure AD Login authority (e.g. login.microsoftonline.com) to use when Environment is set to Custom

    Declaration
    public string AzureADLoginAuthority { get; set; }
    Property Value
    string

    DisableTelemetry

    Turns on/off telemetry, can be customized via configuration. Defaults to false.

    Declaration
    public bool DisableTelemetry { get; set; }
    Property Value
    bool

    Environment

    The Microsoft 365 cloud environment that's used

    Declaration
    public Microsoft365Environment? Environment { get; set; }
    Property Value
    Microsoft365Environment?

    HttpAzureActiveDirectoryDelayInSeconds

    How many seconds to wait for the next retry attempt. Defaults to 3

    Declaration
    public int HttpAzureActiveDirectoryDelayInSeconds { get; set; }
    Property Value
    int

    HttpAzureActiveDirectoryMaxRetries

    When not using retry-after, how many times can a retry be made. Defaults to 10

    Declaration
    public int HttpAzureActiveDirectoryMaxRetries { get; set; }
    Property Value
    int

    HttpAzureActiveDirectoryUseIncrementalDelay

    Use an incremental strategy for the delay: each retry doubles the previous delay time. Defaults to true

    Declaration
    public bool HttpAzureActiveDirectoryUseIncrementalDelay { get; set; }
    Property Value
    bool

    HttpAzureActiveDirectoryUseRetryAfterHeader

    Use the Retry-After header for calculating the delay in case of a retry. Defaults to true

    Declaration
    public bool HttpAzureActiveDirectoryUseRetryAfterHeader { get; set; }
    Property Value
    bool

    HttpMicrosoftGraphDelayInSeconds

    How many seconds to wait for the next retry attempt. Defaults to 3

    Declaration
    public int HttpMicrosoftGraphDelayInSeconds { get; set; }
    Property Value
    int

    HttpMicrosoftGraphMaxRetries

    When not using retry-after, how many times can a retry be made. Defaults to 10

    Declaration
    public int HttpMicrosoftGraphMaxRetries { get; set; }
    Property Value
    int

    HttpMicrosoftGraphUseIncrementalDelay

    Use an incremental strategy for the delay: each retry doubles the previous delay time. Defaults to true

    Declaration
    public bool HttpMicrosoftGraphUseIncrementalDelay { get; set; }
    Property Value
    bool

    HttpMicrosoftGraphUseRetryAfterHeader

    Use the Retry-After header for calculating the delay in case of a retry. Defaults to true

    Declaration
    public bool HttpMicrosoftGraphUseRetryAfterHeader { get; set; }
    Property Value
    bool

    HttpRateLimiterMinimumCapacityLeft

    When set (e.g. to 10%) then RateLimit response headers coming from SharePoint and Graph are used: if there's less then the set value (e.g. 10%) capacity left before getting throttled the pending request will be delayed until the 1 minute window is reset. Defaults to 0 (disabled).

    Declaration
    public int HttpRateLimiterMinimumCapacityLeft { get; set; }
    Property Value
    int

    HttpSharePointRestDefaultPageSize

    Defines the default page size for querying items in SharePoint REST

    Declaration
    public int HttpSharePointRestDefaultPageSize { get; set; }
    Property Value
    int

    HttpSharePointRestDelayInSeconds

    How many seconds to wait for the next retry attempt. Defaults to 3

    Declaration
    public int HttpSharePointRestDelayInSeconds { get; set; }
    Property Value
    int

    HttpSharePointRestMaxRetries

    When not using retry-after, how many times can a retry be made. Defaults to 10

    Declaration
    public int HttpSharePointRestMaxRetries { get; set; }
    Property Value
    int

    HttpSharePointRestUseIncrementalDelay

    Use an incremental strategy for the delay: each retry doubles the previous delay time. Defaults to true

    Declaration
    public bool HttpSharePointRestUseIncrementalDelay { get; set; }
    Property Value
    bool

    HttpSharePointRestUseRetryAfterHeader

    Use the Retry-After header for calculating the delay in case of a retry. Defaults to false

    Declaration
    public bool HttpSharePointRestUseRetryAfterHeader { get; set; }
    Property Value
    bool

    HttpTimeout

    Max duration of a http request in seconds. Defaults to 100 seconds, set to value -1 for an infinite timeout

    Declaration
    public int HttpTimeout { get; set; }
    Property Value
    int

    HttpUserAgent

    User agent value, can be customized via configuration

    Declaration
    public string HttpUserAgent { get; }
    Property Value
    string

    MicrosoftGraphAuthority

    Returns the Microsoft Graph authority (e.g. graph.microsoft.com) to use when Environment is set to Custom

    Declaration
    public string MicrosoftGraphAuthority { get; set; }
    Property Value
    string

    VersionTag

    Version tag used in telemetry

    Declaration
    public string VersionTag { get; }
    Property Value
    string

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