Table of contents
TOC
Collapse the table of content
Expand the table of content

PnPClientContext.ConvertFrom Method

SharePoint Dev Documents|Last Updated: 6/28/2017
|
1 Contributor

Converts ClientContext into PnPClientContext

Namespace:OfficeDevPnP.Core
Assembly: OfficeDevPnP.Core.dll

Syntax

public static PnPClientContext ConvertFrom(ClientContext clientContext, Int32 retryCount = 10, Int32 delay = 500)

Parameters

clientContext

  Type: Microsoft.SharePoint.Client.ClientContext
  A SharePoint ClientContext for resource operations

(optional) retryCount

  Type: System.Int32
  Maximum amount of retries before giving up

(optional) delay

  Type: System.Int32
  Initial delay in milliseconds

Return Value

Type: PnPClientContext

See also

© 2018 Microsoft