IRgfApiServiceExtensionPostAsyncResultType, ContentType(IRgfApiService, String, ContentType, DictionaryString, String, CancellationToken) Method

Definition

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

Parameters

service  IRgfApiService
 
requestUri  String
 
content  ContentType
 
headerParam  DictionaryString, String  (Optional)
 
cancellationToken  CancellationToken  (Optional)
 

Type Parameters

ResultType
ContentType

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