ToastContentBuilder.Show Method
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.
Overloads
Show() |
Shows a new toast notification with the current content. |
Show(CustomizeToast) |
Shows a new toast notification with the current content. |
Show(CustomizeToastAsync) |
Shows a new toast notification with the current content. |
Show()
Shows a new toast notification with the current content.
public void Show ();
member this.Show : unit -> unit
Public Sub Show ()
Applies to
Show(CustomizeToast)
Shows a new toast notification with the current content.
public void Show (Microsoft.Toolkit.Uwp.Notifications.CustomizeToast customize);
member this.Show : Microsoft.Toolkit.Uwp.Notifications.CustomizeToast -> unit
Public Sub Show (customize As CustomizeToast)
Parameters
- customize
- CustomizeToast
Allows you to set additional properties on the Windows.UI.Notifications.ToastNotification object.
Applies to
Show(CustomizeToastAsync)
Shows a new toast notification with the current content.
public Windows.Foundation.IAsyncAction Show (Microsoft.Toolkit.Uwp.Notifications.CustomizeToastAsync customize);
member this.Show : Microsoft.Toolkit.Uwp.Notifications.CustomizeToastAsync -> Windows.Foundation.IAsyncAction
Public Function Show (customize As CustomizeToastAsync) As IAsyncAction
Parameters
- customize
- CustomizeToastAsync
Allows you to set additional properties on the Windows.UI.Notifications.ToastNotification object.
Returns
An operation that completes after your async customizations have completed.