FlushAsync_AbstractStream() static private méthode

static private FlushAsync_AbstractStream ( Stream stream ) : IAsyncOperation
stream Stream
Résultat IAsyncOperation
Exemple #1
0
        public IAsyncOperation <Boolean> FlushAsync()
        {
            Contract.Ensures(Contract.Result <IAsyncOperation <Boolean> >() != null);
            Contract.EndContractBlock();

            Stream str = EnsureNotDisposed();

            return(StreamOperationsImplementation.FlushAsync_AbstractStream(str));
        }
Exemple #2
0
        public IAsyncOperation <bool> FlushAsync()
        {
            Stream str = EnsureNotDisposed();

            return(StreamOperationsImplementation.FlushAsync_AbstractStream(str));
        }