BlackBerry Dynamics for .NET Maui
12.0.0.9
Runtime library for .NET Maui applications
|
Public Member Functions | |
BBDServiceError (int customErrorCode, string message, object details) | |
BBDServiceError (BBDServiceErrorCode errorCode) | |
Properties | |
BBDServiceErrorCode | ErrorCode [get] |
Gets the error code. More... | |
string | Message [get] |
Gets the error message, if any. More... | |
int | CustomErrorCode [get] |
Gets the custom error code, if any. More... | |
object | Details [get] |
Gets the additional error details, if any. More... | |
An error of this class may be encountered when the application is utilizing AppKinetics.
Errors of this class can originate within the AppKinetics system itself, or within service provider applications, which operate using AppKinetics.
An error of this class could be received as the results object when IBBDServiceClient.ReceiveClientMessage is invoked and an accepted request subsequently fails in the AppKinetics system or in the service provider.
An error of this class can be passed as the results object when an application that is a service provider calls the IBBDService.ReplyTo method.
|
inline |
Initializes a new instance of the BBDServiceError class.
Call this constructor to create an instance with a custom error code.
The returned object is suitable for use with the IBBDService.ReplyTo method.
customErrorCode | Error code to set. Details of what custom codes can be returned in a service response should be documented in the service definition. |
message | String containing an error message, or null not to include an error message. If there is a message, then the text should be suitable for display to an end user, at least for diagnostic purposes. |
details | Object containing the additional error details, or null. The service definition should specify what additional error details, if any, are sent with which custom error codes. |
|
inline |
Initializes a new instance of the BBDServiceError class.
Call this constructor to create an instance with a custom error code.
The returned object is suitable for use with the IBBDService.ReplyTo method.
errorCode | Error code to set. See BBDServiceErrorCode enum for details of when each code must be used. |
|
get |
Gets the custom error code, if any.
The custom error code if there was one, or zero otherwise.
|
get |
Gets the additional error details, if any.
Object containing the additional error details, or null if there are no additional details.
|
get |
Gets the error code.
A system error code, or BBDServicesErrorCustom if a custom error occurred.
|
get |
Gets the error message, if any.
String containing the error message, or null if there was no message.