Partager via


ServerStub.WriteQueryResult - Méthode

Writes the result of an object query to a JSON stream.

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

Syntaxe

'Déclaration
Protected Sub WriteQueryResult ( _
    writer As JsonWriter, _
    obj As Object, _
    objQuery As ClientObjectQuery, _
    proxyContext As ProxyContext _
)
'Utilisation
Dim writer As JsonWriter
Dim obj As Object
Dim objQuery As ClientObjectQuery
Dim proxyContext As ProxyContext

Me.WriteQueryResult(writer, obj, objQuery, _
    proxyContext)
protected void WriteQueryResult(
    JsonWriter writer,
    Object obj,
    ClientObjectQuery objQuery,
    ProxyContext proxyContext
)

Paramètres

  • obj
    Type : System.Object

    The object instance to read the property value from.

Exceptions

Exception Condition
ArgumentNullException

The writer parameter value is une référence Null (Rien dans Visual Basic), the proxyContext parameter value is une référence Null (Rien dans Visual Basic), or both are une référence Null (Rien dans Visual Basic).

ServerProxyNotFoundException

The proxy server was not found.

Voir aussi

Référence

ServerStub classe

ServerStub - Membres

Microsoft.SharePoint.Client - Espace de noms