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)

'Declaration
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)

Parameters

assemblyName
Type: System.String

The name of an assembly that contains a class derived from SPProxyOperation.

typeName
Type: System.String

The name of the class derived from SPProxyOperation.

args
Type: Microsoft.SharePoint.UserCode.SPProxyOperationArgs

The argument to be passed to the SPProxyOperation.Execute method.

Return value

Type: System.Object
The object returned by the Execute method.
Show: