オブジェクトのストアのキャッシュから取得する方法とは対照後で要求のデータ ソースから、選択したするデータ オブジェクトを強制的に指定された種類、および制約に対応するデータ オブジェクトが無効になります。
名前空間: Microsoft.VisualStudio.Data.Services
アセンブリ: Microsoft.VisualStudio.Data.Services (Microsoft.VisualStudio.Data.Services.dll 内)
構文
'宣言
Sub InvalidateObjects ( _
typeName As String, _
restrictions As Object() _
)
void InvalidateObjects(
string typeName,
Object[] restrictions
)
void InvalidateObjects(
String^ typeName,
array<Object^>^ restrictions
)
abstract InvalidateObjects :
typeName:string *
restrictions:Object[] -> unit
function InvalidateObjects(
typeName : String,
restrictions : Object[]
)
パラメーター
- typeName
型 : System.String
無効にする型のデータ ソース固有の名前。
- restrictions
型 : array<System.Object[]
無効にする指定された型に関連付けられている制限を含む配列。
例外
| 例外 | 条件 |
|---|---|
| ArgumentNullException | typeName パラメーターが nullnull 参照 (Visual Basic では Nothing) です。 |
.NET Framework セキュリティ
- 直前の呼び出し元に対する完全な信頼。このメンバーは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。