SPServiceContext class

Represents a context object that encapsulates all the information that is required to make a call to a service application.

Inheritance hierarchy


Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)


Public NotInheritable Class SPServiceContext
Dim instance As SPServiceContext
public sealed class SPServiceContext


Use the SPServiceContext class when making a call to a service application.

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


SPServiceContext members

Microsoft.SharePoint namespace