| GDServiceResponseHandler Delegate |
This callback is invoked when a response is received to a service request that was sent within the BlackBerry Inter-Container Communication (ICC) system. The parameters give the details of the service response.
Namespace:
GD
Assembly:
GD (in GD.dll) Version: 255.255.255.255
Syntax public delegate void GDServiceResponseHandler(
string srcApp,
IDictionary<string, string> params,
IList<IGDStorageFile> attachments,
GDServiceError error,
string requestId
)
public delegate void GDServiceResponseHandler(
[InAttribute] String^ srcApp,
[InAttribute] IDictionary<String^, String^>^ params,
[InAttribute] IList<IGDStorageFile^>^ attachments,
[InAttribute] GDServiceError^ error,
[InAttribute] String^ requestId
)
function(srcApp, params, attachments, error, requestId);
Parameters
- srcApp
- Type: SystemString
The BlackBerry Dynamics Entitlement identifier of the provider application to which the original service request was sent. - params
- Type: System.Collections.GenericIDictionaryString, String
The results key-value map, as returned by the provider application. - attachments
- Type: System.Collections.GenericIListIGDStorageFile
Files that were attached to the service response. See under File Attachments in the GDService class reference. - error
- Type: GDGDServiceError
Error object transporting information about possible request fail details. - requestId
- Type: SystemString
The ID assigned to the original service request. An application that makes multiple concurrent service requests can use this value to tie the response back to the original request. The application must have retained the ID from when GDServiceClient::SendRequestAsync(String, String, String, String, IDictionaryString, String, IListIGDStorageFile, String) was originally called.
Remarks See Also