JumpItemsRejectedEventArgs Constructor (IList<JumpItem>, IList<JumpItemRejectionReason>)

.NET Framework (current version)
 

Initializes a new instance of the JumpItemsRejectedEventArgs class that has the specified parameters.

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

public JumpItemsRejectedEventArgs(
	IList<JumpItem> rejectedItems,
	IList<JumpItemRejectionReason> reasons
)

Parameters

rejectedItems
Type: System.Collections.Generic.IList<JumpItem>

The list of Jump List items that could not be added to the Jump List by the Windows shell.

reasons
Type: System.Collections.Generic.IList<JumpItemRejectionReason>

The list of reasons why the rejected Jump List items could not be added to the Jump List.

Exception Condition
ArgumentException

The count of rejectedItems does not equal the count of rejection reasons.

Every rejected item must have a corresponding rejection reason.

.NET Framework
Available since 4.0
Return to top
Show: