SPUserCodeWrapper.Execute Method
Calls the default execution method on an object from a user code assembly.
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public MustOverride Function Execute ( _
executionContext As SPUserCodeExecutionContext _
) As Object
'Usage
Dim instance As SPUserCodeWrapper
Dim executionContext As SPUserCodeExecutionContext
Dim returnValue As Object
returnValue = instance.Execute(executionContext)
public abstract Object Execute(
SPUserCodeExecutionContext executionContext
)
Parameters
executionContext
Type: Microsoft.SharePoint.UserCode.SPUserCodeExecutionContextInformation used by the wrapper object during execution.
Return Value
Type: System.Object
The results of the operation.