InstanceStore.OnFreeInstanceHandle(InstanceHandle, Object) Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Wird aufgerufen, wenn ein Instanzhandle freigegeben wird.
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
Das Instanzhandle, das freigegeben wurde.
- userContext
- Object
Die Benutzerkontextinformationen des Persistenzanbieters, die von OnNewInstanceHandle zurückgegeben wurden, oder null, wenn OnNewInstanceHandle nicht überschrieben wird.