Editare

Partajați prin


JumpList.EndInit Method

Definition

Signals the end of the JumpList initialization.

public:
 virtual void EndInit();
public void EndInit ();
[System.Security.SecurityCritical]
[System.Security.SecurityTreatAsSafe]
public void EndInit ();
abstract member EndInit : unit -> unit
override this.EndInit : unit -> unit
[<System.Security.SecurityCritical>]
[<System.Security.SecurityTreatAsSafe>]
abstract member EndInit : unit -> unit
override this.EndInit : unit -> unit
Public Sub EndInit ()

Implements

Attributes

Exceptions

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.

Applies to