Class LostHelper
Utility class that provide various static functions for handling LoST protocol messages.
Inherited Members
Namespace: Lost
Assembly: Ng911Lib.dll
Syntax
public static class LostHelper
  Methods
| Edit this page View SourceDeserializeLostRequest(string)
Determines the type of LoST request that is contained in the input string and deserializes the XML document to the appropriate class.
Declaration
public static object DeserializeLostRequest(string strMsg)
  Parameters
| Type | Name | Description | 
|---|---|---|
| string | strMsg | Input string containing a LoST request XML document.  | 
      
Returns
| Type | Description | 
|---|---|
| object | Returns a FindService, GetServiceBoundary, ListServices, or ListServicesByLocation object if the input string is a valid LoST XML request document. Returns null if the document type is not recognized or the document is not a valid XML document.  | 
      
DeserializeLostResponse(string)
Determines the type of LoST response that is contained in the input string and deserializes the XML document to the appropriate class.
Declaration
public static object DeserializeLostResponse(string strMsg)
  Parameters
| Type | Name | Description | 
|---|---|---|
| string | strMsg | Input string containing a LoST response XML document.  | 
      
Returns
| Type | Description | 
|---|---|
| object | Returns a FindServiceResponse, GetServiceBoundaryResponse, ListServicesResponse, ListServicesByLocationResponse LostRedirect, or LostErrors object if the input string is a valid LoST XML request document. Returns null if the document type is not recognized or the document is not a valid XML document.  |