InstancePersistenceContext.UserContext 属性

定义

获取附加到当前实例句柄的用户上下文信息。Gets the user context information attached to the current instance handle.

public:
 property System::Object ^ UserContext { System::Object ^ get(); };
public object UserContext { get; }
member this.UserContext : obj
Public ReadOnly Property UserContext As Object

属性值

Object

用户上下文信息。The user context information.

注解

该对象是从当前实例句柄的 InstanceStore.OnNewInstanceHandle 返回的对象。The object is the one that is returned from InstanceStore.OnNewInstanceHandle for the current instance handle.

适用于