Esempio n. 1
0
        //  ------------
        //  construction
        //  ------------

        internal BackgroundCopyError(BackgroundCopyManager manager, IBackgroundCopyError i)
        {
            Manager = manager;
            interop = i ?? throw new ArgumentNullException(nameof(i));
        }
Esempio n. 2
0
 internal BackgroundCopyException(BackgroundCopyManager manager, uint hResult) : base(manager.GetErrorDescription(hResult)) => HResult = (int)hResult;
        //  ------------
        //  construction
        //  ------------

        internal BackgroundCopyJob(BackgroundCopyManager manager, IBackgroundCopyJob i)
        {
            Manager     = manager;
            interop     = i ?? throw new ArgumentNullException(nameof(i));
            HttpOptions = new BackgroundCopyJobHttpOptions(this);
        }
Esempio n. 4
0
 internal BackgroundCopyException(BackgroundCopyManager manager, COMException inner) : base(manager.GetErrorDescription(inner), inner)
 {
 }