SPUtility.ExecuteRegisteredProxyOperation Method
Executes an operation that is prevented in the shim in the proxy process of the UserCode service.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
<SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.PerSpec)> _
Public Shared Function ExecuteRegisteredProxyOperation ( _
assemblyName As String, _
typeName As String, _
args As SPProxyOperationArgs _
) As Object
'Usage
Dim assemblyName As String
Dim typeName As String
Dim args As SPProxyOperationArgs
Dim returnValue As Object
returnValue = SPUtility.ExecuteRegisteredProxyOperation(assemblyName, _
typeName, args)
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.PerSpec)]
public static Object ExecuteRegisteredProxyOperation(
string assemblyName,
string typeName,
SPProxyOperationArgs args
)
Parameters
assemblyName
Type: System.StringThe name of an assembly that contains a class derived from SPProxyOperation.
typeName
Type: System.StringThe name of the class derived from SPProxyOperation.
args
Type: Microsoft.SharePoint.UserCode.SPProxyOperationArgsThe argument to be passed to the SPProxyOperation.Execute method.
Return Value
Type: System.Object
The object returned by the Execute method.