GetXmlElementName method

  1. @override
String GetXmlElementName()
override
Defines an implicit conversion between String and ConversationId. The unique Id to convert to ConversationId. Defines an implicit conversion between ConversationId and String. The conversationId to String. Gets the name of the XML element.

Implementation

// static implicit operator ConversationId(String uniqueId)
//        {
//            return new ConversationId(uniqueId);
//        }

/// <summary>
/// Defines an implicit conversion between ConversationId and String.
/// </summary>
/// <param name="conversationId">The conversationId to String.</param>
/// <returns>A ConversationId initialized with the specified unique Id.</returns>
// static implicit operator String(ConversationId conversationId)
//        {
//            if (conversationId == null)
//            {
//                throw new ArgumentNullException("conversationId");
//            }
//
//            if (StringUtils.IsNullOrEmpty(conversationId.UniqueId))
//            {
//                return String.Empty;
//            }
//            else
//            {
//                // Ignoring the change key info
//                return conversationId.UniqueId;
//            }
//        }

/// <summary>
/// Gets the name of the XML element.
/// </summary>
/// <returns>XML element name.</returns>
@override
String GetXmlElementName() {
  return XmlElementNames.ConversationId;
}