다음을 통해 공유


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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

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.

See Also

Reference

SPUserCodeWorkflowContext Members

Microsoft.SharePoint.UserCode Namespace