Compartilhar via


SPServiceContext Class

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

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.SPServiceContext

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public NotInheritable Class SPServiceContext
'Usage
Dim instance As SPServiceContext
public sealed class SPServiceContext

Remarks

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

Reference

SPServiceContext Members

Microsoft.SharePoint Namespace