Share via


EmailMessage.MessageId property

The MessageId property gets or sets the value of the Message-ID header for the message.

Namespace:  Microsoft.Exchange.Data.Transport.Email
Assembly:  Microsoft.Exchange.Data.Transport (in Microsoft.Exchange.Data.Transport.dll)

Syntax

'Declaration
Public Property MessageId As String
    Get
    Set
'Usage
Dim instance As EmailMessage
Dim value As String

value = instance.MessageId

instance.MessageId = value
public string MessageId { get; set; }

Property value

Type: System.String

See also

Reference

EmailMessage class

EmailMessage members

Microsoft.Exchange.Data.Transport.Email namespace