ServerStub.InvokeMethod - Méthode (Object, String, ClientValueCollection, ProxyContext, Boolean)
Invokes a method on an object of the type corresponding to the derived ServerStub implementation using the specified client values 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 ( _
target As Object, _
methodName As String, _
args As ClientValueCollection, _
proxyContext As ProxyContext, _
<OutAttribute> ByRef isVoid As Boolean _
) As Object
'Utilisation
Dim target As Object
Dim methodName As String
Dim args As ClientValueCollection
Dim proxyContext As ProxyContext
Dim isVoid As Boolean
Dim returnValue As Object
returnValue = Me.InvokeMethod(target, _
methodName, args, proxyContext, isVoid)
protected internal virtual Object InvokeMethod(
Object target,
string methodName,
ClientValueCollection args,
ProxyContext proxyContext,
out bool isVoid
)
Paramètres
target
Type : System.ObjectThe instance of the object to invoke a method on.
methodName
Type : System.StringThe name of the method to invoke.
args
Type : Microsoft.SharePoint.Client.ClientValueCollectionA set of client values 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.