Nevron.Compression Namespace / DeflaterOutputStream Class / CopyToAsync Method / CopyToAsync(Stream,Int32,CancellationToken) Method


In This Topic
    CopyToAsync(Stream,Int32,CancellationToken) Method
    In This Topic
    Syntax
    'Declaration
     
    
    <System.Runtime.InteropServices.ComVisibleAttribute(False)>
    <__DynamicallyInvokableAttribute()>
    <System.Security.Permissions.HostProtectionAttribute(SecurityAction.LinkDemand, ExternalThreading=True)>
    Public Overloads Overridable Function CopyToAsync( _
       ByVal destination As System.IO.Stream, _
       ByVal bufferSize As System.Integer, _
       ByVal cancellationToken As System.Threading.CancellationToken _
    ) As System.Threading.Tasks.Task
    'Usage
     
    
    Dim instance As DeflaterOutputStream
    Dim destination As System.IO.Stream
    Dim bufferSize As System.Integer
    Dim cancellationToken As System.Threading.CancellationToken
    Dim value As System.Threading.Tasks.Task
     
    value = instance.CopyToAsync(destination, bufferSize, cancellationToken)
    [System.Runtime.InteropServices.ComVisible(false)]
    [__DynamicallyInvokable()]
    [System.Security.Permissions.HostProtection(SecurityAction.LinkDemand, ExternalThreading=true)]
    public virtual System.Threading.Tasks.Task CopyToAsync( 
       System.IO.Stream destination,
       System.int bufferSize,
       System.Threading.CancellationToken cancellationToken
    )

    Parameters

    destination
    bufferSize
    cancellationToken
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also