Partager via


ServerStub.InvokeMethod - Méthode (Object, String, XmlNodeList, ProxyContext, Boolean)

Invokes a method on an object of the type corresponding to the derived ServerStub implementation using the specified XML nodes as arguments.

Espace de noms :  Microsoft.SharePoint.Client
Assembly :  Microsoft.SharePoint.Client.ServerRuntime (dans Microsoft.SharePoint.Client.ServerRuntime.dll)

Syntaxe

'Déclaration
Protected Friend Overridable Function InvokeMethod ( _
    obj As Object, _
    methodName As String, _
    args As XmlNodeList, _
    proxyContext As ProxyContext, _
    <OutAttribute> ByRef isVoid As Boolean _
) As Object
'Utilisation
Dim obj As Object
Dim methodName As String
Dim args As XmlNodeList
Dim proxyContext As ProxyContext
Dim isVoid As Boolean
Dim returnValue As Object

returnValue = Me.InvokeMethod(obj, _
    methodName, args, proxyContext, isVoid)
protected internal virtual Object InvokeMethod(
    Object obj,
    string methodName,
    XmlNodeList args,
    ProxyContext proxyContext,
    out bool isVoid
)

Paramètres

  • obj
    Type : System.Object

    The instance of the object to invoke a method on.

  • methodName
    Type : System.String

    The name of the method to invoke.

  • args
    Type : System.Xml.XmlNodeList

    A set of XML nodes that correspond to values for arguments for the method.

  • isVoid
    Type : System.Boolean

    true if the method returns "void"; otherwise, false.

Valeur renvoyée

Type : System.Object
The updated object instance.

Voir aussi

Référence

ServerStub classe

ServerStub - Membres

InvokeMethod - Surcharge

Microsoft.SharePoint.Client - Espace de noms