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)


<ExtensionAttribute> _
Public Shared Function ClearInternetCacheAsync ( _
    browserControl As WebBrowser _
) As Task
public static Task ClearInternetCacheAsync(
    this WebBrowser browserControl


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.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0

See Also


WebBrowserExtensions Class

Microsoft.Phone.Controls Namespace