MessageContent
The content of a message containing a content type along with the message data.
using Azure.Core;
using System;
using System.ComponentModel;
using System.Runtime.CompilerServices;
namespace Azure.Messaging
{
[System.Runtime.CompilerServices.NullableContext(2)]
[System.Runtime.CompilerServices.Nullable(0)]
public class MessageContent
{
public virtual BinaryData Data { get; set; }
public virtual ContentType? ContentType {
get {
return ContentTypeCore;
}
set {
ContentTypeCore = value;
}
}
[EditorBrowsable(EditorBrowsableState.Never)]
protected virtual ContentType? ContentTypeCore { get; set; }
public virtual bool IsReadOnly { get; }
}
}