Bagikan melalui


InstanceStore.OnFreeInstanceHandle(InstanceHandle, Object) Metode

Definisi

Dipanggil saat handel instans dibebaskan.

protected:
 virtual void OnFreeInstanceHandle(System::Runtime::DurableInstancing::InstanceHandle ^ instanceHandle, System::Object ^ userContext);
protected virtual void OnFreeInstanceHandle (System.Runtime.DurableInstancing.InstanceHandle instanceHandle, object userContext);
abstract member OnFreeInstanceHandle : System.Runtime.DurableInstancing.InstanceHandle * obj -> unit
override this.OnFreeInstanceHandle : System.Runtime.DurableInstancing.InstanceHandle * obj -> unit
Protected Overridable Sub OnFreeInstanceHandle (instanceHandle As InstanceHandle, userContext As Object)

Parameter

instanceHandle
InstanceHandle

Handel instans yang dibebaskan.

userContext
Object

Informasi konteks pengguna penyedia persistensi yang dikembalikan dari OnNewInstanceHandle, atau null jika OnNewInstanceHandle tidak ditimpa.

Berlaku untuk