语言

你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。

MessageProperties Class

Definition

Describes the properties of a Message Details resource.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Support.Models.MessagePropertiesTypeConverter))]
public class MessageProperties : Microsoft.Azure.PowerShell.Cmdlets.Support.Models.IMessageProperties
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Support.Models.MessagePropertiesTypeConverter))>]
type MessageProperties = class
    interface IMessageProperties
    interface IJsonSerializable
Public Class MessageProperties
Implements IMessageProperties
Inheritance
MessageProperties
Attributes
Implements

Constructors

Name Description
MessageProperties()

Creates an new MessageProperties instance.

Properties

Name Description
Body

Body of the communication.

CommunicationDirection

Direction of communication.

ContentType

Content type.

CreatedDate

Time in UTC (ISO 8601 format) when the communication was created.

Sender

Name of the sender.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of MessageProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of MessageProperties.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Support.Models.IMessageProperties.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of MessageProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to