ToastMessage Constructor (ContentType, Byte[])
Initializes the toast message with given content type and body.
Namespace: Microsoft.Rtc.Collaboration
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public Sub New ( _
contentType As ContentType, _
body As Byte() _
)
'Usage
Dim contentType As ContentType
Dim body As Byte()
Dim instance As New ToastMessage(contentType, _
body)
public ToastMessage(
ContentType contentType,
byte[] body
)
Parameters
- contentType
Type: System.Net.Mime..::..ContentType
- body
Type: array<System..::..Byte>[]()[][]
Remarks
Some clients may not support content types other than text/plain. For example, some versions of Office Communicator have this restriction.