IRgfApiServiceExtensionPostAsyncResultType(IRgfApiService, String, HttpContent, DictionaryString, String, CancellationToken, Version, Boolean) Method

Definition

Namespace: Recrovit.RecroGridFramework.Abstraction.Contracts.Services
Assembly: Recrovit.RecroGridFramework.Abstraction (in Recrovit.RecroGridFramework.Abstraction.dll) Version: 1.6.1.10720
C#
public static Task<IRgfApiResponse<ResultType>> PostAsync<ResultType>(
	this IRgfApiService service,
	string requestUri,
	HttpContent content,
	Dictionary<string, string> headerParam = null,
	CancellationToken cancellationToken = default,
	Version version = null,
	bool authClient = true
)
where ResultType : class

Parameters

service  IRgfApiService
 
requestUri  String
 
content  HttpContent
 
headerParam  DictionaryString, String  (Optional)
 
cancellationToken  CancellationToken  (Optional)
 
version  Version  (Optional)
 
authClient  Boolean  (Optional)
 

Type Parameters

ResultType

Return Value

TaskIRgfApiResponseResultType

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IRgfApiService. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also