Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Execute method
Collapse the table of content
Expand the table of content

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.

© 2015 Microsoft