SPProxyOperation.Execute method

When overridden in a derived class, executes an operation that is prevented in the shim by passing it to the proxy.

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

Syntax

'Declaration
Public MustOverride Function Execute ( _
    args As SPProxyOperationArgs _
) As Object
'Usage
Dim instance As SPProxyOperation
Dim args As SPProxyOperationArgs
Dim returnValue As Object

returnValue = instance.Execute(args)
public abstract Object Execute(
    SPProxyOperationArgs args
)

Parameters

Return value

Type: System.Object
The result of the operation.

Remarks

If this method is called from a full-trust environment, it will throw an InvalidOperationsException error.

See also

Reference

SPProxyOperation class

SPProxyOperation members

Microsoft.SharePoint.UserCode namespace