DeleteDetector.ReportLiveItemByIndexedField メソッド
派生クラスでオーバーライドされると、インデックス付きフィールド値によって識別される項目がアクティブであり、削除済みと見なすべきでないことを報告します。
名前空間: Microsoft.Synchronization.MetadataStorage
アセンブリ: Microsoft.Synchronization.MetadataStorage (microsoft.synchronization.metadatastorage.dll 内)
構文
'宣言
Public MustOverride Sub ReportLiveItemByIndexedField ( _
fieldName As String, _
fieldValue As Object _
)
'使用
Dim instance As DeleteDetector
Dim fieldName As String
Dim fieldValue As Object
instance.ReportLiveItemByIndexedField(fieldName, fieldValue)
public abstract void ReportLiveItemByIndexedField (
string fieldName,
Object fieldValue
)
public:
virtual void ReportLiveItemByIndexedField (
String^ fieldName,
Object^ fieldValue
) abstract
public abstract void ReportLiveItemByIndexedField (
String fieldName,
Object fieldValue
)
public abstract function ReportLiveItemByIndexedField (
fieldName : String,
fieldValue : Object
)
パラメーター
- fieldName
インデックス付きフィールドの名前です。
- fieldValue
インデックス付きフィールドの値です。
例外
例外の種類 | 条件 |
---|---|
fieldName が NULL 参照 (Visual Basic では Nothing) です。 であるか、fieldValue が NULL 参照 (Visual Basic では Nothing) です。 です。 |
|
fieldName の長さが 0 です。 |
|
指定したインデックスの項目は見つかりませんでした。 |
解説
このメソッドは、項目がストアで見つかったことを DeleteDetector に通知します。
SqlMetadataStore を使用した実装の場合は、SaveItemMetadata が更新済み項目をアクティブな項目として暗黙的にマーク付けします。そのため、このメソッドを呼び出す必要があるのは、変更されなかった項目に対してのみです。
参照
リファレンス
DeleteDetector クラス
DeleteDetector メンバー
Microsoft.Synchronization.MetadataStorage 名前空間