DotNetCompression Class Reference for Windows Phone
WriteAsync(Byte[],Int32,Int32,CancellationToken) Method






Syntax
'Declaration
 
<__DynamicallyInvokableAttribute()>
<System.Runtime.InteropServices.ComVisibleAttribute(False)>
<System.Security.Permissions.HostProtectionAttribute(Resources=HostProtectionResource.ExternalThreading, ExternalThreading=True)>
Public Overloads Overridable Function WriteAsync( _
   ByVal buffer() As System.Byte, _
   ByVal offset As System.Integer, _
   ByVal count As System.Integer, _
   ByVal cancellationToken As System.Threading.CancellationToken _
) As System.Threading.Tasks.Task
'Usage
 
Dim instance As ZlibInputStream
Dim buffer() As System.Byte
Dim offset As System.Integer
Dim count As System.Integer
Dim cancellationToken As System.Threading.CancellationToken
Dim value As System.Threading.Tasks.Task
 
value = instance.WriteAsync(buffer, offset, count, cancellationToken)
[__DynamicallyInvokable()]
[System.Runtime.InteropServices.ComVisible(false)]
[System.Security.Permissions.HostProtection(Resources=HostProtectionResource.ExternalThreading, ExternalThreading=true)]
public virtual System.Threading.Tasks.Task WriteAsync( 
   System.byte[] buffer,
   System.int offset,
   System.int count,
   System.Threading.CancellationToken cancellationToken
)
public function WriteAsync( 
    buffer: System.Bytearray of;
    offset: System.Integer;
    count: System.Integer;
    cancellationToken: System.Threading.CancellationToken
): System.Threading.Tasks.Task; virtual; 
__DynamicallyInvokableAttribute()
System.Runtime.InteropServices.ComVisibleAttribute()
System.Security.Permissions.HostProtectionAttribute(Resources=HostProtectionResource.ExternalThreading, ExternalThreading=)
public function WriteAsync( 
   buffer : System.byte[],
   offset : System.int,
   count : System.int,
   cancellationToken : System.Threading.CancellationToken
) : System.Threading.Tasks.Task;
[__DynamicallyInvokable()]
[System.Runtime.InteropServices.ComVisible(false)]
[System.Security.Permissions.HostProtection(Resources=HostProtectionResource.ExternalThreading, ExternalThreading=true)]
public: virtual System.Threading.Tasks.Task* WriteAsync( 
   System.byte[]* buffer,
   System.int offset,
   System.int count,
   System.Threading.CancellationToken cancellationToken
) 
[__DynamicallyInvokable()]
[System.Runtime.InteropServices.ComVisible(false)]
[System.Security.Permissions.HostProtection(Resources=HostProtectionResource.ExternalThreading, ExternalThreading=true)]
public:
virtual System.Threading.Tasks.Task^ WriteAsync( 
   System.array<byte>^ buffer,
   System.int offset,
   System.int count,
   System.Threading.CancellationToken cancellationToken
) 

Parameters

buffer
offset
count
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

Reference

ZlibInputStream Class
ZlibInputStream Members
Overload List

Send Feedback