[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.3.23 (0.2009.3.23)

Syntax

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

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.

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

IFacebookContext Interface
Facebook Namespace