/// Create an instance of BaseHandle.
/// </summary>
/// <since_tizen> 3 </since_tizen>
- public BaseHandle() : this(Interop.BaseHandle.NewBaseHandle())
+ public BaseHandle() : this(Interop.BaseHandle.NewBaseHandle(), true, false)
{
+ // Note : Empty BaseHandle instance don't need to be register in Registry.
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}
/// </summary>
/// <param name="handle">The BaseHandle instance.</param>
/// <since_tizen> 3 </since_tizen>
- public BaseHandle(BaseHandle handle) : this(Interop.BaseHandle.NewBaseHandle(BaseHandle.getCPtr(handle)))
+ public BaseHandle(BaseHandle handle) : this(Interop.BaseHandle.NewBaseHandle(BaseHandle.getCPtr(handle)), true, false)
{
+ // Note : Copyed BaseHandle instance don't need to be register in Registry.
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
}