ToastMessage Constructor (ContentType, Byte )
Creates a new instance of the ToastMessage class with the 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
The content type.
- body
Type: []
The body for the toast.
Remarks
Some clients may not support content types other than "text/plain." For example, some versions of Microsoft Communicator have this restriction.