/// <summary> /// Constructor. Used when object derives from UnmanagedHandle. /// </summary> /// <param name="ptsContext"> /// PTS context /// </param> protected UnmanagedHandle(PtsContext ptsContext) { _ptsContext = ptsContext; _handle = ptsContext.CreateHandle(this); }