OAuthUtility.GetAsync Method
OAuthUtility GetAsync Method Nemiro.OAuth
Performs an async request using a GET method.

Namespace: Nemiro.OAuth
Assembly: Nemiro.OAuth (in Nemiro.OAuth.dll) Version: 1.9.4.725 (1.9.4.725)
Syntax

public static void GetAsync(
	string endpoint = null,
	HttpParameterCollection parameters = null,
	HttpAuthorization authorization = null,
	NameValueCollection headers = null,
	AccessToken accessToken = null,
	ExecuteRequestAsyncCallback callback = null
)

Return Value

Type:
Returns an instance of the RequestResult class, which contains the result of the request.
Exceptions

ExceptionCondition
ArgumentNullException
RequestException
ArgumentException

The exception occurs when the query parameters are specified at the same time authorization and accessToken.

Remarks

Can not be used simultaneously accessToken and authorization. Use only one of these parameters.

See Also