INavigationContentLoader.EndLoad Method

Silverlight

Completes the asynchronous content loading operation.

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

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

Parameters

asyncResult
Type: System.IAsyncResult
An object that identifies the asynchronous operation.

Return Value

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

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 content or to a redirection URI.

This method is typically called by the navigation system from the userCallback delegate passed to the BeginLoad method to retrieve the loaded content or a redirection URI. In this case, the argument passed to the userCallback method is passed to the EndLoad method.

Alternately, the userCallback parameter of the BeginLoad method can be Nothing and the EndLoad method can be called with the return value of the BeginLoad method. In this case, the EndLoad method will block until the operation completes.

Silverlight

Supported in: 5, 4

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

Community Additions

ADD
Show: