Condividi tramite


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)
Available in Sandboxed Solutions: No

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