ClientContext Class

Represents the context for SharePoint objects and operations.

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.Client.ClientRuntimeContext
    Microsoft.SharePoint.Client.ClientContext

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
Public Class ClientContext _
    Inherits ClientRuntimeContext
'Usage
Dim instance As ClientContext
public class ClientContext : ClientRuntimeContext

Remarks

Use the [ClientContext] class to return context information about such objects as the current Web application, site, site collection, or server version.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

ClientContext Members

Microsoft.SharePoint.Client Namespace