ToastMessage Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents the toast message that can be sent along with an INVITE.
public ref class ToastMessage
public class ToastMessage
type ToastMessage = class
Public Class ToastMessage
- Inheritance
-
ToastMessage
Examples
This example shows how to establish a call to a Uri with a toast message.
C# Establish call with toast message
call.BeginEstablish(
destinationUri,
new ToastMessage("Do you have a minute?"),
null /*options*/,
this.EstablishCompleted,
call /*state*/);
Remarks
Toast messages can be specified when establishing instant messaging calls or delivering conference invitations.
Constructors
ToastMessage(ContentType, Byte[]) |
Creates a new instance of the ToastMessage class with the given content type and body. |
ToastMessage(String) |
Creates a new instance of the ToastMessage class with the given message. |
Properties
ContentType |
Gets the MIME content type. |
HasTextMessage |
Gets whether the toast message contains plain text. |
Message |
Gets the text message. |
Methods
GetBody() |
Gets the message body. |