パラメーターを指定して、JumpItemsRejectedEventArgs クラスの新しいインスタンスを初期化します。
名前空間: Microsoft.Windows.Shell
アセンブリ: Microsoft.Windows.Shell (Microsoft.Windows.Shell.dll 内)
構文
'宣言
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>
)
パラメーター
- rejectedItems
型: System.Collections.Generic.IList<JumpItem>
Windows シェルによってジャンプ リストに追加できなかったジャンプ リスト項目の一覧。
- reasons
型: System.Collections.Generic.IList<JumpItemRejectionReason>
ジャンプ リスト項目をジャンプ リストに追加できなかった拒否理由の一覧。
例外
例外 | 条件 |
---|---|
ArgumentException | rejectedItems のカウントは、拒否 reasons のカウントと等しくありません。 |
解説
すべての拒否された項目には、対応する拒否理由がある必要があります。
.NET Framework セキュリティ
- 直前の呼び出し元に対する完全な信頼。 このメンバーは、部分的に信頼されているコードから使用することはできません。 詳細については、「部分信頼コードからのライブラリの使用」を参照してください。
参照
参照
JumpItemsRejectedEventArgs クラス