ToastMessage Class
Represents the toast message that can be sent along with an INVITE.
Inheritance Hierarchy
System.Object
Microsoft.Rtc.Collaboration.ToastMessage
Namespace: Microsoft.Rtc.Collaboration
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public Class ToastMessage
'Usage
Dim instance As ToastMessage
public class ToastMessage
Remarks
Toast messages can be specified when establishing instant messaging calls or delivering conference invitations.
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*/);
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
Microsoft.Rtc.Collaboration Namespace
BeginEstablish(String, ToastMessage, CallEstablishOptions, AsyncCallback, Object)
BeginEstablish(ToastMessage, CallEstablishOptions, AsyncCallback, Object)
ToastMessage()
BeginInviteRemoteParticipants(IEnumerable<String>, ToastMessage, AsyncCallback, Object)