InstancePersistenceContext.PersistedInstance 메서드

정의

지속성 공급자가 인스턴스 저장소에 인스턴스 데이터 집합을 성공적으로 유지했음을 나타냅니다. 인스턴스가 아직 없는 경우 인스턴스를 초기화하는 효과가 있습니다.

public:
 void PersistedInstance(System::Collections::Generic::IDictionary<System::Xml::Linq::XName ^, System::Runtime::DurableInstancing::InstanceValue ^> ^ data);
public void PersistedInstance(System.Collections.Generic.IDictionary<System.Xml.Linq.XName,System.Runtime.DurableInstancing.InstanceValue> data);
member this.PersistedInstance : System.Collections.Generic.IDictionary<System.Xml.Linq.XName, System.Runtime.DurableInstancing.InstanceValue> -> unit
Public Sub PersistedInstance (data As IDictionary(Of XName, InstanceValue))

매개 변수

data
IDictionary<XName,InstanceValue>

인스턴스 데이터를 개체의 XName 사전으로 InstanceValue 사용합니다.

설명

현재 인스턴스 핸들은 인스턴스에 바인딩되어야 하며 해당 인스턴스에 대한 잠금도 있어야 합니다. 각 인스턴스 데이터 집합은 이전 집합을 완전히 대체합니다. 인스턴스 데이터 집합은 null일 수 있습니다. 빈 데이터와 같습니다. null 인스턴스 데이터 집합을 유지하면 기존 인스턴스 데이터 집합이 삭제됩니다. (인스턴스 데이터 집합을 유지해도 인스턴스 메타데이터에는 영향을 주지 않습니다.)

적용 대상