Disables the theme in the specified application asynchronously.

Namespace: Elysium
Assembly: Elysium (in Elysium.dll) Version: 2.0.1042.4 (2.0.1042.4)

Syntax

C#
public static Task RemoveAsync(
	this Application application
)
Visual Basic
<ExtensionAttribute> 
Public Shared Function RemoveAsync ( 
	application As Application
) As Task

Parameters

application
Type: System.Windows..::..Application
An instance of the application, whose theme is being disabled.

Return Value

Type: Task
Task instance, which allows you manage execution task thread.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Application. 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).

Exceptions

ExceptionCondition
System..::..ArgumentNullException Parameter application is null.

Contracts

See Also