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

Executes a FacebookRequest for methodName with the specified arguments.

Namespace:  Facebook
Assembly:  Facebook (in Facebook.dll) Version: 0.2009.4.13 (0.2009.4.13)

Syntax

C#
FacebookResponse<TValue> IFacebookContext.ExecuteRequest<TValue>(
	string methodName,
	IDictionary<string, Object> args,
	params string[] excludedArgs
)
Visual Basic (Declaration)
Private Function ExecuteRequest(Of TValue) ( _
	methodName As String, _
	args As IDictionary(Of String, Object), _
	ParamArray excludedArgs As String() _
) As FacebookResponse(Of TValue) Implements IFacebookContext.ExecuteRequest
Visual C++
private:
generic<typename TValue>
virtual FacebookResponse<TValue>^ ExecuteRequest(
	String^ methodName, 
	IDictionary<String^, Object^>^ args, 
	... array<String^>^ excludedArgs
) sealed = IFacebookContext::ExecuteRequest

Parameters

methodName
Type: System..::.String
The name of the API method.
args
Type: System.Collections.Generic..::.IDictionary<(Of <(String, Object>)>)
An IDictionary<(Of <(TKey, TValue>)>) of arguments that will be passed into the API call.
excludedArgs
Type: array< System..::.String >[]()[]
An array of String values specifying arguments that should be left out of the API method call.

Type Parameters

TValue
The expected return type of the method call.

Return Value

A reference to a FacebookResponse<(Of <(TValue>)>) object that will contain the value of the response.

Implements

IFacebookContext..::.ExecuteRequest<(Of <(TValue>)>)(String, IDictionary<(Of <(String, Object>)>), array<String>[]()[])

Remarks

If a Batch is currently active, the FacebookResponse<(Of <(TValue>)>) returned by this method will not contain a value until Complete()()() is called.

See Also

FacebookContextBase<(Of <(TCache, TSession>)>) Class
Facebook Namespace