Share via


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

Remarks

Some clients may not support content types other than text/plain. For example, some versions of Office Communicator have this restriction.

See Also

Reference

ToastMessage Class

ToastMessage Members

ToastMessage Overload

Microsoft.Rtc.Collaboration Namespace