Ruyi SDK
Namespaces
Ruyi
RuyiSDK Class
RuyiSDK Methods
CheckJsonResult Method
CreateInstance Method
Dispose Method
Click or drag to resizeClick or drag to resize

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
C#
Copy
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

Reference

RuyiSDK Class
Ruyi Namespace

Copyright ©Zhongshan Subor Advanced Technology Co., Ltd. 2017-2018, All right reserved

Send comments on this topic to dev-support@playruyi.com