Share via


InstanceStore.OnFreeInstanceHandle(InstanceHandle, Object) Yöntem

Tanım

Örnek tanıtıcısı serbest olduğunda çağrılır.

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)

Parametreler

instanceHandle
InstanceHandle

Serbest olan örnek tanıtıcısı.

userContext
Object

Kalıcılık sağlayıcısının OnNewInstanceHandle'dan döndürülen kullanıcı bağlamı bilgileri veya OnNewInstanceHandle geçersiz kılınmazsa null.

Şunlara uygulanır