SPScenarioContext class

Provides a context object for interacting with the administrator scenario framework by providing methods to persist session data and enable transitions across various states in the scenario.

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.Administration.SPScenarioContext

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

Syntax

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

Remarks

Members of this class are not thread-safe.

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

SPScenarioContext members

Microsoft.SharePoint.Administration namespace