Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
ServiceBusMessage.ContentType Property
Definition
- Namespace:
- Azure.Messaging.ServiceBus
- Assembly:
- Azure.Messaging.ServiceBus.dll
- Package:
- Azure.Messaging.ServiceBus v7.20.1
- Package:
- Azure.Messaging.ServiceBus v7.18.0-beta.1
- Source:
- ServiceBusMessage.cs
- Source:
- ServiceBusMessage.cs
Important
Some information relates to prerelease product that may be substantially modified before itβs released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the content type descriptor.
public string ContentType { get; set; }
member this.ContentType : string with get, set
Public Property ContentType As String
Property Value
RFC2045 Content-Type descriptor.
Remarks
Optionally describes the payload of the message, with a descriptor following the format of RFC2045, Section 5, for example "application/json".
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET
Feedback
Was this page helpful?
