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.ObjectThe instance of the object to invoke a method on.
methodName
Type : System.StringThe name of the method to invoke.
args
Type : System.Xml.XmlNodeListA set of XML nodes that correspond to values for arguments for the method.
proxyContext
Type : Microsoft.SharePoint.Client.ProxyContextContains information about the general state of a client request and response operation.
isVoid
Type : System.Booleantrue if the method returns "void"; otherwise, false.
Valeur renvoyée
Type : System.Object
The updated object instance.