共用方式為


SPServiceContext class

表示內容物件封裝來呼叫服務應用程式所需的所有資訊。

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.SPServiceContext

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

Syntax

'宣告
Public NotInheritable Class SPServiceContext
'用途
Dim instance As SPServiceContext
public sealed class SPServiceContext

備註

服務應用程式在呼叫時,請使用SPServiceContext類別。

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.

請參閱

參照

SPServiceContext members

Microsoft.SharePoint namespace