Share via


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:  Microsoft.Windows.Shell
Assembly:  Microsoft.Windows.Shell (in Microsoft.Windows.Shell.dll)

Syntax

'Declaration
Public Sub EndInit
public void EndInit()
public:
virtual void EndInit() sealed
abstract EndInit : unit -> unit 
override EndInit : unit -> unit 
public final function EndInit()

Implements

ISupportInitialize.EndInit()

Exceptions

Exception Condition
NotSupportedException

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

Remarks

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 Security

See Also

Reference

JumpList Class

Microsoft.Windows.Shell Namespace