SPUserCodeWorkflowContext class

Provides detailed information about a specific workflow instance in a sandboxed solution.

Inheritance hierarchy


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


<SerializableAttribute> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Class SPUserCodeWorkflowContext
Dim instance As SPUserCodeWorkflowContext
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class SPUserCodeWorkflowContext


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.

See also


SPUserCodeWorkflowContext members

Microsoft.SharePoint.UserCode namespace