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)

public abstract Object Execute(
	SPProxyOperationArgs args


Type: Microsoft.SharePoint.UserCode.SPProxyOperationArgs

The arguments for the method.

Return value

Type: System.Object
The result of the operation.

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