共用方式為


SPUtility.ExecuteProxyOperation method

若要執行的作業,否則無法執行程序中執行的 Windows SharePoint 使用者程式碼服務工作者處理序的完全信任程式碼從呼叫。此方法不能直接由使用者程式碼呼叫。

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

Syntax

'宣告
Public Shared Function ExecuteProxyOperation ( _
    assemblyName As String, _
    typeName As String, _
    args As SPProxyOperationArgs _
) As Object
'用途
Dim assemblyName As String
Dim typeName As String
Dim args As SPProxyOperationArgs
Dim returnValue As Object

returnValue = SPUtility.ExecuteProxyOperation(assemblyName, _
    typeName, args)
public static Object ExecuteProxyOperation(
    string assemblyName,
    string typeName,
    SPProxyOperationArgs args
)

參數

傳回值

Type: System.Object
序列化的物件。

備註

如果完全信任的環境中呼叫此方法時,它會擲回例外狀況的System.InvalidOperationException。

請參閱

參照

SPUtility class

SPUtility members

Microsoft.SharePoint.Utilities namespace