次の方法で共有


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)

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