public virtual Result StartVirtualizationInstance(
            string virtualizationRootFullPath,
            uint poolThreadCount)
        {
            Interop.Callbacks callbacks = new Interop.Callbacks
            {
                OnEnumerateDirectory = this.OnEnumerateDirectory,
                OnGetFileStream      = this.OnGetFileStream,
            };

            return(Interop.PrjFSLib.StartVirtualizationInstance(
                       virtualizationRootFullPath,
                       callbacks,
                       poolThreadCount));
        }
        public virtual Result StartVirtualizationInstance(
            string virtualizationRootFullPath,
            uint poolThreadCount)
        {
            Interop.Callbacks callbacks = new Interop.Callbacks
            {
                OnEnumerateDirectory = this.OnEnumerateDirectory,
                OnGetFileStream      = this.OnGetFileStream,
                OnNotifyOperation    = this.preventGCOnNotifyOperationDelegate = new NotifyOperationCallback(this.OnNotifyOperation),
                OnLogError           = this.OnLogError,
            };

            return(Interop.PrjFSLib.StartVirtualizationInstance(
                       virtualizationRootFullPath,
                       callbacks,
                       poolThreadCount));
        }
 public static extern Result StartVirtualizationInstance(
     string virtualizationRootFullPath,
     Callbacks callbacks,
     uint poolThreadCount);