ClearInternetCacheAsync Method
Collapse the table of content
Expand the table of content

WebBrowserExtensions.ClearInternetCacheAsync Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Clears the Internet cache associated with the specified web browser control asynchronously.

Namespace:  Microsoft.Phone.Controls
Assembly:  Microsoft.Phone (in Microsoft.Phone.dll)

public static Task ClearInternetCacheAsync(
	this WebBrowser browserControl


Type: Microsoft.Phone.Controls.WebBrowser
The web browser control to clear the Internet cache for.

Return Value

Type: System.Threading.Tasks.Task
An asynchronous result that represents the clear cache operation.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type WebBrowser. When you use instance method syntax to call this method, omit the first parameter.

Windows Phone OS

Supported in: 8.1, 8.0

© 2017 Microsoft