Ask Learn
Preview
Please sign in to use this experience.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Represents the context for SharePoint objects and operations.
System.Object
Microsoft.SharePoint.Client.ClientRuntimeContext
Microsoft.SharePoint.Client.ClientContext
Microsoft.ProjectServer.Client.ProjectContext
Namespace: Microsoft.SharePoint.Client
Assembly: Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)
'Declaration
Public Class ClientContext _
Inherits ClientRuntimeContext
'Usage
Dim instance As ClientContext
public class ClientContext : ClientRuntimeContext
Use the ClientContext class to return context information about such objects as the current web application, site, site collection, or server version. The Document library templates sample app for SharePoint includes an example of how to use this object.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Please sign in to use this experience.
Sign in