Пример #1
0
        //  ------------
        //  construction
        //  ------------

        internal BackgroundCopyError(BackgroundCopyManager manager, IBackgroundCopyError i)
        {
            Manager = manager;
            interop = i ?? throw new ArgumentNullException(nameof(i));
        }
Пример #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);
        }
Пример #4
0
 internal BackgroundCopyException(BackgroundCopyManager manager, COMException inner) : base(manager.GetErrorDescription(inner), inner)
 {
 }