• Articles
  • Api Documentation
Search Results for

    Show / Hide Table of Contents
    • AdditionalData
      • AdrParametersItemChoiceEnum
      • AnniversaryItemChoiceEnum
      • BdayItemChoiceEnum
      • ByRefType
      • CallerInfo
      • CommentSubType
      • CommentType
      • DeviceInfoType
      • DeviceInfoTypeUniqueDeviceID
      • EmergencyCallDataValueType
      • JCard
      • KeyItemChoiceEnum
      • LocationInfo
      • ProvidedBy
      • ProvidedByType
      • ProviderInfoType
      • RelatedParametersItemChoiceEnum
      • SchemaConsts
      • ServiceInfoType
      • SubcontractorPriorityType
      • SubscriberInfoType
      • TelContactInfo
      • TelItemChoiceEnum
      • VcardTypeTzItemChoiceEnum
      • adr
      • adrParameters
      • adrParametersGeo
      • adrParametersTZ
      • altid
      • anniversary
      • anniversaryParameters
      • bday
      • bdayParameters
      • caladruri
      • caladruriParameters
      • calscale
      • calscaleText
      • caluri
      • caluriParameters
      • categories
      • categoriesParameters
      • clientpidmap
      • email
      • emailParameters
      • fburl
      • fburlParameters
      • fn
      • fnParameters
      • gender
      • group
      • impp
      • imppParameters
      • key
      • keyParameters
      • kind
      • label
      • lang
      • langParameters
      • language
      • logo
      • logoParameters
      • mediatype
      • member
      • memberParameters
      • n
      • nParameters
      • nickname
      • nicknameParameters
      • note
      • noteParameters
      • org
      • orgParameters
      • photo
      • photoParameters
      • pid
      • pref
      • prodid
      • related
      • relatedParameters
      • relatedParametersText
      • role
      • roleParameters
      • sex
      • sortas
      • sound
      • soundParameters
      • source
      • sourceParameters
      • tel
      • telParameters
      • title
      • titleParameters
      • type
      • typeText
      • uid
      • url
      • urlParameters
      • valuetimestamp
      • vcardType
      • vcardTypeGeo
      • vcardTypeGeoParameters
      • vcardTypeTZ
      • vcardTypeTZParameters
      • vcards
    • AgencyLocator
      • LocatorRecord
      • LocatorRecordUri
      • LocatorRecordUriArray
      • NameSet
      • NameSetArray
    • BadActor
      • BadActorContents
    • CommonAlertingProtocol
      • alert
      • alertInfo
      • alertInfoArea
      • alertInfoAreaGeocode
      • alertInfoCategory
      • alertInfoCertainty
      • alertInfoEventCode
      • alertInfoParameter
      • alertInfoResource
      • alertInfoResponseType
      • alertInfoSeverity
      • alertInfoUrgency
      • alertMsgType
      • alertScope
      • alertStatus
    • ConferenceEvent
      • calltype
      • conferencedescriptiontype
      • conferencemediatype
      • conferencemediumtype
      • conferencestatetype
      • conferencetype
      • disconnectiontype
      • endpointstatustype
      • endpointtype
      • executiontype
      • hosttype
      • joiningtype
      • mediastatustype
      • mediatype
      • sidebarsbyvaltype
      • sipdialogidtype
      • statetype
      • uristype
      • uritype
      • userrolestype
      • userstype
      • usertype
    • DiscrepancyReporting
      • AdrDiscrepancyReport
      • AdrProblemEnum
      • BcfDiscrepancyReport
      • BcfProblemEnum
      • CallTakerDiscrepancyReport
      • CallTransferDiscrepancyReport
      • DRTypeEnum
      • DiscrepancyReport
      • DiscrepancyReportResponse
      • DiscrepancyResolution
      • DrResolutionEnum
      • DrServerityEnum
      • EsrpDiscrepancyReport
      • EsrpProblemEnum
      • GisDiscrepancyReport
      • GisProblemEnum
      • ImrDiscrepancyReport
      • ImrProblemEnum
      • LisDiscrepancyReport
      • LisProblemEnum
      • LogSignatureCertificateDiscrepancyReport
      • LogSignatureProblemEnum
      • LoggingDiscrepancyReport
      • LoggingProblemEnum
      • LostDiscrepancyReport
      • LostProblemEnum
      • LostQueryTypeEnum
      • McsDiscrepancyReport
      • NetworkDiscrepancyReport
      • NetworkProblemEnum
      • OriginatingServiceDiscrepancyReport
      • OriginatingServiceProblemEnum
      • PermissionsDiscrepancyReport
      • PermissionsProblemEnum
      • PolicyDiscrepancyReport
      • PolicyProblemEnum
      • PolicyStoreDiscrepancyReport
      • PolicyStoreProblemEnum
      • SipDiscrepancyReport
      • SipProblemEnum
      • StatusUpdate
      • TestCallDiscrepancyReport
      • TestCallProblemEnum
    • ECall
      • ackType
      • ackTypeActionResult
      • capabilitiesType
      • controlType
      • requestType
      • requestTypeText
    • Geocode
      • GeoCodeCivicAddress
      • GeodeticData
    • Held
      • HeldConsts
      • HeldDevice
      • HeldError
      • HeldErrorMessage
      • HeldIp
      • LocationRequest
      • LocationResponse
      • LocationType
      • LocationUriSet
    • HttpUtils
      • AsyncHttpRequestor
      • HttpMethodEnum
      • HttpResults
    • I3SubNot
      • AbandonedCall
      • DequeueRegistrationRequestBody
      • DequeueRegistrationResponseBody
      • ElementState
      • ElementStateType
      • EsrpNotify
      • GapOverlap
      • QueueState
      • QueueStateType
      • SecurityPostureType
      • ServiceState
      • ServiceStateType
      • ServiceType
      • SubNotConsts
      • calltype
      • conferencedescriptiontype
      • conferencemediatype
      • conferencemediumtype
      • conferencestatetype
      • conferencetype
      • disconnectiontype
      • endpointstatustype
      • endpointtype
      • executiontype
      • hosttype
      • joiningtype
      • mediastatustype
      • mediatype
      • sidebarsbyvaltype
      • sipdialogidtype
      • statetype
      • uristype
      • uritype
      • userrolestype
      • userstype
      • usertype
    • I3V3.LogEvents
      • AdditionalAgencyLogEvent
      • AdditionalDataQueryLogEvent
      • AdditionalDataResponseLogEvent
      • AgencyIdArray
      • AgentStateChangeLogEvent
      • AliLocationQueryLogEvent
      • AliLocationResponseLogEvent
      • CallEndLogEvent
      • CallIdArray
      • CallLogEvent
      • CallProcessLogEvent
      • CallSignalingMessageLogEvent
      • CallStartLogEvent
      • CallStateChangeLogEvent
      • CallTransferLogEvent
      • DiscrepancyReportLogEvent
      • EidoDeniedLogEvent
      • EidoDereferenceFactoryQueryLogEvent
      • EidoDereferenceFactoryQueryResponseLogEvent
      • EidoLogEvent
      • EidoTransmissionErrorLogEvent
      • ElementStateChangeLogEvent
      • GatewayCallLogEvent
      • HookflashLogEvent
      • I3LogEventContent
      • IncidentClearLogEvent
      • IncidentIdArray
      • IncidentLinkLogEvent
      • IncidentMergeLogEvent
      • IncidentReopenLogEvent
      • IncidentSplitLogEvent
      • IncidentUnLinkLogEvent
      • IncidentUnMergeLogEvent
      • KeepAliveFailureLogEvent
      • LegacyDigitsLogEvent
      • LocationQueryLogEvent
      • LocationResponseLogEvent
      • LogEvent
      • LogEventContainer
      • LogEventContainerArray
      • LogEventIdArray
      • LostQueryLogEvent
      • LostResponseLogEvent
      • MalformedMessageLogEvent
      • MediaEndLogEvent
      • MediaStartLogEvent
      • MessageLogEvent
      • NonRtpMediaMessageLogEvent
      • PolicyChangeLogEvent
      • QueueStateChangeLogEvent
      • RecCallEndLogEvent
      • RecCallStartLogEvent
      • RecMediaEndLogEvent
      • RecMediaStartLogEvent
      • RecordingFailedLogEvent
      • RouteLogEvent
      • RouteRuleMsgLogEvent
      • ServiceStateChangeLogEvent
      • SipRecMetadataLogEvent
      • SubParamsType
      • SubscribeLogEvent
      • SubscriptionRequestedLogEvent
      • SubscriptionRequestedResponseLogEvent
      • SubscriptionTerminatedLogEvent
      • SubscriptionTerminatedResponseLogEvent
      • VersionsLogEvent
      • WebSocketEstablishedLogEvent
      • WebSocketTerminatedLogEvent
    • I3V3.LoggingHelpers
      • I3LogEventClient
      • I3LogEventClientMgr
      • I3LoggingErrorDelegate
      • I3LoggingUtils
      • LoggingServerStatusChangedDeletate
    • Lost
      • DisplayName
      • FindService
      • FindServiceResponse
      • GetServiceBoundary
      • GetServiceBoundaryResponse
      • ListServices
      • ListServicesByLocation
      • ListServicesByLocationResponse
      • ListServicesResponse
      • LocationUsed
      • LostErrors
      • LostHelper
      • LostMsgBase
      • LostPath
      • LostRedirect
      • LostWarnings
      • Mapping
      • PathVia
      • ServiceBoundaryReference
    • Msag
      • MsagData
      • PidfLoData
    • Ng911CertUtils
      • CertUtils
      • DistinguishedNameParams
      • KeyUsageParams
      • Ng911SanParams
      • Roles
    • Ng911Common
      • ConditionTypeEnum
      • I3JoseHeader
      • I3Jws
      • VersionItemType
      • VersionServiceInfoType
      • VersionsArrayType
    • Ng911Lib.Utilities
      • ContentTypes
      • JsonHelper
      • PurposeTypes
      • TimeUtils
      • Utf8StringWriter
      • XmlHelper
    • NgWebSockets
      • NgWebSocketClient
      • WebSocketMessageReceived
    • Pidf
      • ArcBand
      • Axis
      • Circle
      • CivicAddress
      • Confidence
      • Device
      • DirectionType
      • DynamicType
      • Ellipse
      • Ellipsoid
      • Exterior
      • GeoPriv
      • LinearRing
      • Orientation
      • PdfEnum
      • Person
      • Point
      • Polygon
      • Position
      • Presence
      • Prism
      • PrismBase
      • Radius
      • Sphere
      • Status
      • Tuple
      • locInfoType
      • locPolicyType
    • PolicyRouting
      • ActionBase
      • AdditionalDataCondition
      • BodyPartCondition
      • BusyAction
      • CallSourceCondition
      • CallSuspicionCondition
      • CallingNumberVerificationStatusCondition
      • CapCondition
      • ConditionBase
      • IncomingQueueCondition
      • InvokePolicyAction
      • LocationCondition
      • LogAction
      • LostServiceUrnCondition
      • MimeBodyCondition
      • NormalHextHopCondition
      • NotifyAction
      • OpCode
      • Pref
      • PrrLocation
      • QueueStateCondition
      • RequestUriCondition
      • RouteAction
      • Rule
      • SdpOfferCondition
      • SecurityPostureCondition
      • ServiceStateCondition
      • SipHeaderCondition
      • TimePeriodCondition
    • PolicyStore
      • Policy
      • PolicyArray
      • PolicyEnum
      • PolicyEnumArray
      • PolicyTypeEnum
    • SipRecMetaData
      • dataMode
      • group
      • name
      • nameID
      • participant
      • participantsessionassoc
      • participantsessionassocParam
      • participantstreamassoc
      • reason
      • recording
      • requestsnapshot
      • session
      • sessionrecordingassoc
      • stream
    • TestCall
      • ConditionType
      • PrrTest
      • SendCallRequests
    • Veds
      • ActivityLocationAssociationType
      • ActivityType
      • AddressType
      • AirbagCategoryCodeSimpleType
      • AirbagCategoryCodeType
      • AirbagType
      • AngleMeasureType
      • AssociationType
      • AutomatedCrashNotificationType
      • BinaryType
      • CommercialCarrierUSDOTNumberType
      • ComplexObjectType
      • ContactActivityType
      • ContactInformationType
      • ContactInformationType1
      • ConveyanceType
      • CrashPersonRoleCodeSimpleType
      • CrashPersonRoleCodeType
      • CrashPersonType
      • CrashPersonType1
      • CrashType
      • CrashType1
      • CrashVehicleType
      • CrossStreetType
      • DateType
      • DatumCodeSimpleType
      • DatumCodeType
      • DocumentType
      • DriverLicenseBaseType
      • DriverLicenseType
      • DrivingIncidentType
      • FullTelephoneNumberType
      • IdentificationType
      • ImageType
      • IncidentType
      • InternationalTelephoneNumberType
      • ItemType
      • ItemsChoiceType
      • LatitudeCoordinateType
      • LatitudeDegreeType
      • LocationType
      • LongitudeCoordinateType
      • LongitudeDegreeType
      • MeasurePointValueType
      • MeasureType
      • NotificationDestinationOrganizationType
      • NotificationDeviceTypeCodeSimpleType
      • NotificationDeviceTypeCodeType
      • NotificationOriginatingOrganizationType
      • OrganizationContactInformationAssociationType
      • OrganizationType
      • PersonContactInformationAssociationType
      • PersonLanguageType
      • PersonNameTextType
      • PersonNameType
      • PersonType
      • PersonType1
      • PowerSourceCategoryCodeSimpleType
      • PowerSourceCategoryCodeType
      • ProperNameTextType
      • ReferenceType
      • SEXCodeSimpleType
      • SEXCodeType
      • SpeedMeasureType
      • StreetType
      • StructuredAddressType
      • TangibleItemType
      • TelephoneNumberType
      • TextType
      • TwoDimensionalGeographicCoordinateType
      • VEDSNotificationOriginatorCodeSimpleType
      • VEDSNotificationOriginatorCodeType
      • VehicleAutonomousCapabilityCodeSimpleType
      • VehicleAutonomousCapabilityCodeType
      • VehicleBodyCategoryCodeSimpleType
      • VehicleBodyCategoryCodeType
      • VehicleCrashPulseType
      • VehicleFinalRestOrientationCodeSimpleType
      • VehicleFinalRestOrientationCodeType
      • VehiclePropulsionStorageCodeSimpleType
      • VehiclePropulsionStorageCodeType
      • VehicleSeatLocationCategoryCodeSimpleType
      • VehicleSeatLocationCategoryCodeType
      • VehicleSeatType
      • VehicleType
      • WeightMeasureType
      • anyURI
      • boolean
      • date
      • dateTime
      • gYear
      • nonNegativeInteger
      • string

    Class XmlHelper

    Contains various functions to perform XML related operations.

    Inheritance
    object
    XmlHelper
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Ng911Lib.Utilities
    Assembly: Ng911Lib.dll
    Syntax
    public class XmlHelper

    Properties

    | Edit this page View Source

    PidfNamespaceTags

    Gets an XmlSerializerNamespaces object that maps XML prefix tags to the namespaces for a PIDF-LO XML document.

    Declaration
    public static XmlSerializerNamespaces PidfNamespaceTags { get; }
    Property Value
    Type Description
    XmlSerializerNamespaces

    Methods

    | Edit this page View Source

    DeserializeFromString(string, Type)

    Deserializes an XML string into an object.

    Declaration
    public static object DeserializeFromString(string str, Type ObjType)
    Parameters
    Type Name Description
    string str

    String containing an XML object.

    Type ObjType

    Type of the object to deserialize to.

    Returns
    Type Description
    object

    Returns an object of the specified type if successful or null if an error occurred.

    Remarks

    Consider using one of the generic versions of this method because the generic versions eliminate the need for casting.

    See Also
    DeserializeFromString<T>(string)
    DeserializeFromString<T>(string, out Exception)
    | Edit this page View Source

    DeserializeFromString<T>(string)

    Deserializes an XML string into an object.

    Declaration
    public static T DeserializeFromString<T>(string str)
    Parameters
    Type Name Description
    string str

    String containing an XML object.

    Returns
    Type Description
    T

    Returns an object of the specified type if successful or null if an error occurred.

    Type Parameters
    Name Description
    T

    Specifies the type of the object to deserialize the XML string into.

    | Edit this page View Source

    DeserializeFromString<T>(string, out Exception)

    Deserializes an XML string into an object.

    Declaration
    public static T DeserializeFromString<T>(string str, out Exception Excpt)
    Parameters
    Type Name Description
    string str

    String containing an XML object.

    Exception Excpt

    Output. Set to the exception object that was caught. This will be non-null if the return value is null.

    Returns
    Type Description
    T

    Returns an object of the specified type if successful or null if an error occurred.

    Type Parameters
    Name Description
    T

    Specifies the type of the object to deserialize the XML string into.

    Remarks

    Use this version of the method of you need to log and/or troubleshoot XML issues.

    | Edit this page View Source

    GetRootNode(string)

    Gets the name of the root node of an XML document.

    Declaration
    public static XmlNode GetRootNode(string XmlString)
    Parameters
    Type Name Description
    string XmlString

    String containing the XML document.

    Returns
    Type Description
    XmlNode

    Returns the name of the root element or null if an error occurred.

    | Edit this page View Source

    SerializePidfToString(object)

    Adds the namespaces tag prefixes appropriate for a PIDF-LO XML document and the serializes the object to a string. This method adds the XML tags from the Pidf namespace so it should be used only for the Pidf classes.

    Declaration
    public static string SerializePidfToString(object Obj)
    Parameters
    Type Name Description
    object Obj

    Input object to serialize.

    Returns
    Type Description
    string

    Returns an XML string if successful or null if an error occurred.

    | Edit this page View Source

    SerializeToByteArray(object)

    Serializes an object to a byte array that contains the UTF8 characters of an XML document.

    Declaration
    public static byte[] SerializeToByteArray(object Obj)
    Parameters
    Type Name Description
    object Obj

    Input object to serialize.

    Returns
    Type Description
    byte[]

    Returns a byte array or null if an error occurred during serialization.

    | Edit this page View Source

    SerializeToString(object)

    Serializes an object into an XML string.

    Declaration
    public static string SerializeToString(object Obj)
    Parameters
    Type Name Description
    object Obj

    Input object to serialize.

    Returns
    Type Description
    string

    Returns an XML string if successful or null if an error occurred.

    | Edit this page View Source

    SerializeToString(object, XmlSerializerNamespaces)

    Serializes an object into an XML string. This version adds the name space tag prefixs specified in the Ns parameter.

    Declaration
    public static string SerializeToString(object Obj, XmlSerializerNamespaces Ns)
    Parameters
    Type Name Description
    object Obj

    Input object to serialize.

    XmlSerializerNamespaces Ns

    Contains the tag prefixs and their associated namespaces.

    Returns
    Type Description
    string

    Returns an XML string if successful or null if an error occurred.

    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX