Convert the alert into a JSON object suitable for use in the EAP.DeliverMsg() javascript method.
Note that this is a non-standard serialization which includes custom alert object logic.
Namespace:
NetQuarry.Services
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public string ToJson(
IAppContext cxt,
bool more = false
)
Public Function ToJson (
cxt As IAppContext,
Optional more As Boolean = false
) As String
Parameters
- cxt
- Type: NetQuarryIAppContext
The application context. - more (Optional)
- Type: SystemBoolean
True if there are addtional alerts that the receiver may request. This is primarily intended for use with the "chkmsgs" request.
Return Value
Type:
StringThe JSON string.
See Also