TheREST..::..PostRESTAsync Method (TheRequestData, Action<(Of <(<'TheRequestData>)>)>, Action<(Of <(<'TheRequestData>)>)>)
This is the main Function all other PostREST Functions are calling in the end.
Namespace:
nsCDEngine.CommunicationAssembly: C-DEngine (in C-DEngine.dll)
Syntax
public void PostRESTAsync( TheRequestData pRequest, Action<TheRequestData> pCallback, Action<TheRequestData> pErrorCallback )
Public Sub PostRESTAsync ( _ pRequest As TheRequestData, _ pCallback As Action(Of TheRequestData), _ pErrorCallback As Action(Of TheRequestData) _ )
public: void PostRESTAsync( TheRequestData^ pRequest, Action<TheRequestData^>^ pCallback, Action<TheRequestData^>^ pErrorCallback )
Parameters
- pRequest
- Type: nsCDEngine.ViewModels..::..TheRequestData
All necessary data to issue a POST via REST are in this class
- pCallback
- Type: Action<(Of <(<'TheRequestData>)>)>
Once the POST has returned the pRequest structure is filled with the results and the calllback at this parameter is called
- pErrorCallback
- Type: Action<(Of <(<'TheRequestData>)>)>
If something unexpected happened during the POST, this callback will called with the intermediate results of the POST