Partager via


GeneralFunctions Class

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2013, Dynamics CRM 2015, Dynamics CRM 2016

Represents general functions used to retrieve data from XML, checking for numeric validation, etc.

Namespace:   Microsoft.Uii.Common
Assembly:  Microsoft.Uii.Common (in Microsoft.Uii.Common.dll)

Inheritance Hierarchy

System.Object
  Microsoft.Uii.Common.GeneralFunctions

Syntax

public sealed class GeneralFunctions
Public NotInheritable Class GeneralFunctions

Methods

Name Description
System_CAPS_pubmethodSystem_CAPS_static CanDeserialize<TType>(String)

Determines whether a string can be deserialized to an object of specified type.

System_CAPS_pubmethodSystem_CAPS_static DecryptStringFromBytes(Byte[], Byte[], Byte[])

Obsolete. Decrypts the given text using symmetric Rijndael algorithm.

System_CAPS_pubmethodSystem_CAPS_static Deserialize(String, Type)

Deserializes the XML string into an object of type passed in.

System_CAPS_pubmethodSystem_CAPS_static Deserialize<TType>(String)

Deserializes an XML string into an object of type passed in.

System_CAPS_pubmethodSystem_CAPS_static EncryptStringToBytes(String, Byte[], Byte[])

Obsolete. Encrypts the given text using symmetric Rijndael algorithm.

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_static EscapeXml(String)

Escapes Xml metacharacters

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_static GetValueFromReader(SqlDataReader, Int32)

Retrieves the value of the indexed field in the reader.

System_CAPS_pubmethodSystem_CAPS_static GetValueFromReader(SqlDataReader, String)

Retrieves the value of name field in the reader.

System_CAPS_pubmethodSystem_CAPS_static GetXmlNodeText(String, String)

Retrieves the node value of given xpath by loading the given XML.

System_CAPS_pubmethodSystem_CAPS_static GetXmlNodeValue(String, String)

Obsolete. Retrieves the node value of given xpath by loading the given XML.

System_CAPS_pubmethodSystem_CAPS_static IsInitialInstance()

Ensures only one copy of the executing application is running at a time.

System_CAPS_pubmethodSystem_CAPS_static IsNumeric(String)

Determines whether the given input value is numeric.

System_CAPS_pubmethodSystem_CAPS_static Serialize(Object)

Serializes the object passed in returning an xml string.

System_CAPS_pubmethodSystem_CAPS_static Serialize<TType>(TType)

Serializes the object passed in returning an xml string.

System_CAPS_pubmethod ToString()

(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_static UnEscapeXml(String)

Unescapes Xml metacharacters.

System_CAPS_pubmethodSystem_CAPS_static WriteToApplicationEventLog(String, EventLogEntryType)

Writes to the application event log.

Fields

Name Description
System_CAPS_pubfieldSystem_CAPS_static EventLogEventSourceName

Represents the event log source for UII

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.Uii.Common Namespace

Return to top

Unified Service Desk 2.0

© 2016 Microsoft. All rights reserved. Copyright