IWpfNotificationService..::..CreateToastNotification Method

Creates the toast notification.

Namespace:  Wpf.NotificationCenter.Services
Assembly:  Wpf.NotificationCenter (in Wpf.NotificationCenter.dll)

Syntax


Notification CreateToastNotification(
	string title,
	string text,
	NotificationType notificationType,
	Nullable<string> notificationCenterName
)
Function CreateToastNotification ( _
	title As String, _
	text As String, _
	notificationType As NotificationType, _
	notificationCenterName As Nullable(Of String) _
) As Notification
Notification^ CreateToastNotification(
	String^ title, 
	String^ text, 
	NotificationType^ notificationType, 
	Nullable<String^> notificationCenterName
)

Parameters

title
Type: String
The title.
text
Type: String
The text.
notificationType
Type: Wpf.NotificationCenter.Enums..::..NotificationType
Type of the notification.
notificationCenterName
Type: Nullable<(Of <(<'String>)>)>
Name of the notification center.

Return Value

Creates the toast notification.