InstanceStore.OnFreeInstanceHandle(InstanceHandle, Object) Метод

Определение

Вызывается, когда дескриптор экземпляра освобождается.

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)

Параметры

instanceHandle
InstanceHandle

Дескриптор экземпляра, который был освобожден.

userContext
Object

Контекстная информация о пользователе из поставщика сохраняемости, возвращенная от OnNewInstanceHandle, или значение NULL, если не произошло переопределение OnNewInstanceHandle.

Применяется к