Click or drag to resize
TaskExtensionsIgnoreExceptions Method
Schedules a continuation that ignores any exceptions during execution.

Namespace: Microsoft.IoT.DeviceHelpers
Assembly: Microsoft.IoT.DeviceHelpers (in Microsoft.IoT.DeviceHelpers.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static Task IgnoreExceptions(
	this Task task
)

Parameters

task
Type: System.Threading.TasksTask
The original task.

Return Value

Type: Task
The continuation task.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Task. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also