다음을 통해 공유


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

  • 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.

See Also

Reference

ToastMessage Class

ToastMessage Members

ToastMessage Overload

Microsoft.Rtc.Collaboration Namespace