ToastContentBuilder.SetToastScenario(ToastScenario) 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.
Sets the scenario, to make the Toast behave like an alarm, reminder, or more.
public Microsoft.Toolkit.Uwp.Notifications.ToastContentBuilder SetToastScenario (Microsoft.Toolkit.Uwp.Notifications.ToastScenario scenario);
member this.SetToastScenario : Microsoft.Toolkit.Uwp.Notifications.ToastScenario -> Microsoft.Toolkit.Uwp.Notifications.ToastContentBuilder
Public Function SetToastScenario (scenario As ToastScenario) As ToastContentBuilder
Parameters
- scenario
- ToastScenario
Scenario to be used for the toast's behavior
Returns
The current instance of ToastContentBuilder