Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Initializes a new instance of the JumpItemsRejectedEventArgs class that has the specified parameters.
Namespace: Microsoft.Windows.Shell
Assembly: Microsoft.Windows.Shell (in Microsoft.Windows.Shell.dll)
Syntax
'Declaration
Public Sub New ( _
rejectedItems As IList(Of JumpItem), _
reasons As IList(Of JumpItemRejectionReason) _
)
public JumpItemsRejectedEventArgs(
IList<JumpItem> rejectedItems,
IList<JumpItemRejectionReason> reasons
)
public:
JumpItemsRejectedEventArgs(
IList<JumpItem^>^ rejectedItems,
IList<JumpItemRejectionReason>^ reasons
)
new :
rejectedItems:IList<JumpItem> *
reasons:IList<JumpItemRejectionReason> -> JumpItemsRejectedEventArgs
public function JumpItemsRejectedEventArgs(
rejectedItems : IList<JumpItem>,
reasons : IList<JumpItemRejectionReason>
)
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.
Exceptions
Exception | Condition |
---|---|
ArgumentException | The count of rejectedItems does not equal the count of rejection reasons. |
Remarks
Every rejected item must have a corresponding rejection reason.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
JumpItemsRejectedEventArgs Class