Delen via


UserSessionMessage Class

Definition

Represents message sent to a UserSession.

public class UserSessionMessage : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.DesktopVirtualization.Models.UserSessionMessage>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.DesktopVirtualization.Models.UserSessionMessage>
type UserSessionMessage = class
    interface IJsonModel<UserSessionMessage>
    interface IPersistableModel<UserSessionMessage>
Public Class UserSessionMessage
Implements IJsonModel(Of UserSessionMessage), IPersistableModel(Of UserSessionMessage)
Inheritance
UserSessionMessage
Implements

Constructors

UserSessionMessage()

Initializes a new instance of UserSessionMessage.

Properties

MessageBody

Body of message.

MessageTitle

Title of message.

Explicit Interface Implementations

IJsonModel<UserSessionMessage>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<UserSessionMessage>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<UserSessionMessage>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<UserSessionMessage>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<UserSessionMessage>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to