ContentType Property

Gets the MIME type of the message.

Namespace:  Microsoft.Rtc.Signaling
Assembly:  Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)

Syntax

'Declaration
Public ReadOnly Property ContentType As ContentType
    Get
'Usage
Dim instance As MessageReceivedEventArgs
Dim value As ContentType

value = instance.ContentType
public ContentType ContentType { get; }

Property Value

Type: System.Net.Mime..::..ContentType
A ContentType object representing the content type.

Remarks

[ContentType] can be nullNothingnullptrunita null reference (Nothing in Visual Basic) if the message has no content type.

See Also

Reference

MessageReceivedEventArgs Class

MessageReceivedEventArgs Members

Microsoft.Rtc.Signaling Namespace