| RuyiSDKCheckJsonResult Method |
[This is preliminary documentation and is subject to change.]
Check Json string return from server, and convert to json token
Namespace:
Ruyi
Assembly:
SDK.RuyiSDKAsync (in SDK.RuyiSDKAsync.dll) Version: 0.9.3.3995
Syntax public static JToken CheckJsonResult(
string result,
ExternalErrorCode errCode,
string moduleName,
Action<ErrorException> callback = null,
params Object[] args
)
Parameters
- result
- Type: SystemString
The json string from server - errCode
- Type: Ruyi.SDK.ExternalErrorsExternalErrorCode
If result is not correct, then throw the error message base on this error code - moduleName
- Type: SystemString
The caller module name - callback (Optional)
- Type: SystemActionErrorException
The callback function to call before throwing the error - args
- Type: SystemObject
Argument passed to the error message
Return Value
Type:
JToken[Missing <returns> documentation for "M:Ruyi.RuyiSDK.CheckJsonResult(System.String,Ruyi.SDK.ExternalErrors.ExternalErrorCode,System.String,System.Action{Ruyi.SDK.CommonType.ErrorException},System.Object[])"]
See Also