'Declaration
<__DynamicallyInvokableAttribute()> <System.Runtime.InteropServices.ComVisibleAttribute(False)> <System.Security.Permissions.HostProtectionAttribute(Resources=HostProtectionResource.ExternalThreading, ExternalThreading=True)> Public Overloads Function CopyToAsync( _ ByVal destination As System.IO.Stream, _ ByVal bufferSize As System.Integer _ ) As System.Threading.Tasks.Task
'Usage
Dim instance As StreamClient Dim destination As System.IO.Stream Dim bufferSize As System.Integer Dim value As System.Threading.Tasks.Task value = instance.CopyToAsync(destination, bufferSize)
[__DynamicallyInvokable()] [System.Runtime.InteropServices.ComVisible(false)] [System.Security.Permissions.HostProtection(Resources=HostProtectionResource.ExternalThreading, ExternalThreading=true)] public System.Threading.Tasks.Task CopyToAsync( System.IO.Stream destination, System.int bufferSize )
Parameters
- destination
- bufferSize