Export (0) Print
Expand All

JumpList.EndInit Method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Signals the end of the JumpList initialization.

Namespace:  System.Windows.Shell
Assembly:  PresentationFramework (in PresentationFramework.dll)

[UIPermissionAttribute(SecurityAction.Demand, Window = UIPermissionWindow.AllWindows)]
public void EndInit()

Implements

ISupportInitialize.EndInit()

ExceptionCondition
NotSupportedException

This call to EndInit is not paired with a call to BeginInit.

The JumpList class implements the ISupportInitialize interface to support XAML declaration of a JumpList. The EndInit method is only called when the JumpList is declared in XAML and attached to an Application by using the attached property syntax. You do not call this method from your code.

The EndInit method has the same effect as the Apply method. EndInit sends the content of the JumpList to the Windows shell in its current state. After this call is complete, the JumpItems property is modified to contain only those items that the Windows shell successfully added to its Jump List. You can access the lists of removed items through event handlers for the JumpItemsRejected and JumpItemsRemovedByUser events.

.NET Framework

Supported in: 4.5.2, 4.5.1, 4.5, 4

.NET Framework Client Profile

Supported in: 4

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft