SPUserCodeWorkflowContext class
Provides detailed information about a specific workflow instance in a sandboxed solution.
Inheritance hierarchy
System.Object
Microsoft.SharePoint.UserCode.SPUserCodeWorkflowContext
Namespace: Microsoft.SharePoint.UserCode
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
<SerializableAttribute> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Class SPUserCodeWorkflowContext
'Usage
Dim instance As SPUserCodeWorkflowContext
[SerializableAttribute]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class SPUserCodeWorkflowContext
Remarks
This class is a lightweight version of the WorkflowContext class and uses URLs and IDs instead of SharePoint Server objects, such as SPSite and SPWeb.
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.