My Project  0.10.0
Windows SDK for Facebook
Public Member Functions | List of all members
winsdkfb::Graph::FBSingleValue Class Reference

Used to interact with Facebook Graph API calls that return non-paginated values. More...

#include <FBSingleValue.h>

Public Member Functions

 FBSingleValue (Platform::String^ Request, Windows::Foundation::Collections::PropertySet^ Parameters, FBJsonClassFactory^ ObjectFactory)
 
Windows::Foundation::IAsyncOperation< FBResult^ >^ GetAsync ()
 
Windows::Foundation::IAsyncOperation< FBResult^ >^ PostAsync ()
 
Windows::Foundation::IAsyncOperation< FBResult^ >^ DeleteAsync ()
 

Detailed Description

Used to interact with Facebook Graph API calls that return non-paginated values.

Constructor & Destructor Documentation

FBSingleValue::FBSingleValue ( Platform::String^  Request,
Windows::Foundation::Collections::PropertySet^  Parameters,
FBJsonClassFactory^  ObjectFactory 
)

Constructor.

Parameters
RequestThe Graph API endpoint
ParametersAdditional parameters that the Graph call may require
ObjectFactoryFactory to create object from the response data

Member Function Documentation

Windows::Foundation::IAsyncOperation< FBResult^ > FBSingleValue::DeleteAsync ( )

Makes an HTTP DELETE request to the Graph API endpoint.

Returns
On success, the returned FBResult will contain an object from ObjectFactory that encapsulates the Graph call return data. On failure, the FBResult will instead contain error information about the call.
Windows::Foundation::IAsyncOperation< FBResult^ > FBSingleValue::GetAsync ( )

Makes an HTTP GET request to the Graph API endpoint.

Returns
On success, the returned FBResult will contain an object from ObjectFactory that encapsulates the Graph call return data. On failure, the FBResult will instead contain error information about the call.
Windows::Foundation::IAsyncOperation< FBResult^ > FBSingleValue::PostAsync ( )

Makes an HTTP POST request to the Graph API endpoint.

Returns
On success, the returned FBResult will contain an object from ObjectFactory that encapsulates the Graph call return data. On failure, the FBResult will instead contain error information about the call.

The documentation for this class was generated from the following files: