Export (0) Print
Expand All

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

.NET Framework 4.6 and 4.5

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.

ExceptionCondition
ArgumentException

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

Every rejected item must have a corresponding rejection reason.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
Show:
© 2015 Microsoft