SIFWorks ADK 2.0
OnQueryResults Method (data, error, zone, info)
NamespacesEdustructures.SifWorksIQueryResultsOnQueryResults(IDataObjectInputStream, SIF_Error, IZone, IMessageInfo)

[This is preliminary documentation and is subject to change.]

Called by the ADK when it receives a SIF_Response message containing the results of a SIF_Request query previously issued by the agent. Note that query responses are received asynchronously and may not be received for a long time after the SIF_Request was issued, if at all. An implementation of this method should check the error parameter to determine if the SIF_Response message contains an error. The responder to the query may return an error if it doesn't support the object type associated with the query, or if it failed to execute the query. The SIF_Error object provides the error category, error code, description, and optionally an extended description. The data stream should not be expected to return any objects.
Declaration Syntax
C#Visual BasicVisual C++
void OnQueryResults(
	IDataObjectInputStream data,
	SIF_Error error,
	IZone zone,
	IMessageInfo info
)
Sub OnQueryResults ( _
	data As IDataObjectInputStream, _
	error As SIF_Error, _
	zone As IZone, _
	info As IMessageInfo _
)
void OnQueryResults (
	IDataObjectInputStream^ data, 
	SIF_Error^ error, 
	IZone^ zone, 
	IMessageInfo^ info
)
Parameters
data (IDataObjectInputStream)
A DataObjectInputStream that provides all SIFDataObjects contained in the SIF_Response message
error (SIF_Error)
If the SIF_Response message contains an error, this parameter is the SIF_Error element from that message; otherwise it is null
zone (IZone)
The zone from which the SIF_Response message was received.
info (IMessageInfo)
The properties of the SIF_Request message. Cast this value to a SifMessageInfo object to retrieve attributes specific to the Schools Interoperability Framework protocol.

Assembly: Edustructures.SifWorks.Adk (Module: Edustructures.SifWorks.Adk) Version: 2.0.0.10