PageResourceContentLoader.EndLoad Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Completes the asynchronous content loading operation.

Namespace:  System.Windows.Navigation
Assembly:  System.Windows.Controls.Navigation (in System.Windows.Controls.Navigation.dll)

Syntax

'Declaration
Public Function EndLoad ( _
    asyncResult As IAsyncResult _
) As LoadResult
public LoadResult EndLoad(
    IAsyncResult asyncResult
)

Parameters

Return Value

Type: System.Windows.Navigation.LoadResult
An object that represents the result of the asynchronous content loading operation.

Implements

INavigationContentLoader.EndLoad(IAsyncResult)

Remarks

Typically, you will not call this method directly unless you implement an alternative to the Silverlight navigation system.

The return value provides access to the loaded page.

This method is called by the navigation system from the userCallback delegate passed to the BeginLoad method to retrieve the loaded content. The argument passed to the userCallback method is passed to the EndLoad method.

Version Information

Silverlight

Supported in: 5, 4

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.