共用方式為


SPScenarioContext class

提供內容的物件互動的系統管理員案例架構,以提供方法來保存工作階段資料並啟用的案例中的各種狀態之間切換。

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.Administration.SPScenarioContext

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

Syntax

'宣告
<SerializableAttribute> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public NotInheritable Class SPScenarioContext
'用途
Dim instance As SPScenarioContext
[SerializableAttribute]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public sealed class SPScenarioContext

備註

此類別的成員不安全執行緒。

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.

請參閱

參照

SPScenarioContext members

Microsoft.SharePoint.Administration namespace