LoadResult Class


Represents the content loaded by an INavigationContentLoader implementation.


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

public class LoadResult

The LoadResult type exposes the following members.

Public methodLoadResult(Object)Initializes a new instance of the LoadResult class and sets the LoadedContent property to the specified object.
Public methodLoadResult(Uri)Initializes a new instance of the LoadResult class and sets the RedirectUri property to the specified object.

Public propertyLoadedContentGets the loaded page.
Public propertyRedirectUriGets the URI to redirect navigation to.

Public methodEquals(Object)Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)

Typically, you will not use this class directly unless you implement the INavigationContentLoader interface or implement an alternative to the Silverlight navigation system.

This class is the return value type of the INavigationContentLoader.EndLoad method. The Silverlight navigation system uses this class to represent loaded pages (see the LoadedContent property) or redirection URIs (see the RedirectUri property).


Supported in: 5, 4

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

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions