'DeclarationPublic Overloads Function BuildResultJSON( _ ByVal success As Boolean, _ ByVal message As String, _ ByVal jData As Newtonsoft.Json.Linq.JObject, _ ByVal ParamArray tokens() As Newtonsoft.Json.Linq.JToken _ ) As Newtonsoft.Json.Linq.JObject
'UsageDim instance As ConsoleBaseService Dim success As Boolean Dim message As String Dim jData As Newtonsoft.Json.Linq.JObject Dim tokens() As Newtonsoft.Json.Linq.JToken Dim value As Newtonsoft.Json.Linq.JObject value = instance.BuildResultJSON(success, message, jData, tokens)
Parameters
- success
- True if the operation was a success, false if it failed.
- message
- The message.
- jData
- The data.
- tokens
- A variable-length parameters list containing tokens.
Return Value
A JObject.