Share via


SendMessage Class

Definition

Represents message sent to a UserSession.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20230905.SendMessageTypeConverter))]
public class SendMessage : Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20230905.ISendMessage
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api20230905.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.Api20230905.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.

Applies to