Share via


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

Return Value

Type: System.Object
The results of the operation.

See Also

Reference

SPUserCodeWrapper Class

SPUserCodeWrapper Members

Microsoft.SharePoint.Administration Namespace