Share via


SendMessage Class

Definition

Represents message sent to a UserSession.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.SendMessageTypeConverter))]
public class SendMessage : Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.ISendMessage
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.SendMessageTypeConverter))>]
type SendMessage = class
    interface ISendMessage
    interface IJsonSerializable
Public Class SendMessage
Implements ISendMessage
Inheritance
SendMessage
Attributes
Implements

Constructors

SendMessage()

Creates an new SendMessage instance.

Properties

MessageBody

Body of message.

MessageTitle

Title of message.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of SendMessage.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of SendMessage.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.ISendMessage.

FromJsonString(String)

Creates a new instance of SendMessage, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of SendMessage into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to