DotNetCompression Class Reference for Windows Phone
BeginRead Method (BZip2OutputStream)






Syntax
'Declaration
 
<__DynamicallyInvokableAttribute()>
<System.Runtime.TargetedPatchingOptOutAttribute("Performance critical to inline this type of method across NGen image boundaries")>
<System.Security.Permissions.HostProtectionAttribute(Resources=HostProtectionResource.ExternalThreading, ExternalThreading=True)>
Public Function BeginRead( _
   ByVal buffer() As System.Byte, _
   ByVal offset As System.Integer, _
   ByVal count As System.Integer, _
   ByVal callback As System.AsyncCallback, _
   ByVal state As System.Object _
) As System.IAsyncResult
'Usage
 
Dim instance As BZip2OutputStream
Dim buffer() As System.Byte
Dim offset As System.Integer
Dim count As System.Integer
Dim callback As System.AsyncCallback
Dim state As System.Object
Dim value As System.IAsyncResult
 
value = instance.BeginRead(buffer, offset, count, callback, state)
[__DynamicallyInvokable()]
[System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
[System.Security.Permissions.HostProtection(Resources=HostProtectionResource.ExternalThreading, ExternalThreading=true)]
public System.IAsyncResult BeginRead( 
   System.byte[] buffer,
   System.int offset,
   System.int count,
   System.AsyncCallback callback,
   System.object state
)
public function BeginRead( 
    buffer: System.Bytearray of;
    offset: System.Integer;
    count: System.Integer;
    callback: System.AsyncCallback;
    state: System.TObject
): System.IAsyncResult; 
__DynamicallyInvokableAttribute()
System.Runtime.TargetedPatchingOptOutAttribute("Performance critical to inline this type of method across NGen image boundaries")
System.Security.Permissions.HostProtectionAttribute(Resources=HostProtectionResource.ExternalThreading, ExternalThreading=)
public function BeginRead( 
   buffer : System.byte[],
   offset : System.int,
   count : System.int,
   callback : System.AsyncCallback,
   state : System.Object
) : System.IAsyncResult;
[__DynamicallyInvokable()]
[System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
[System.Security.Permissions.HostProtection(Resources=HostProtectionResource.ExternalThreading, ExternalThreading=true)]
public: System.IAsyncResult* BeginRead( 
   System.byte[]* buffer,
   System.int offset,
   System.int count,
   System.AsyncCallback* callback,
   System.Object* state
) 
[__DynamicallyInvokable()]
[System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]
[System.Security.Permissions.HostProtection(Resources=HostProtectionResource.ExternalThreading, ExternalThreading=true)]
public:
System.IAsyncResult^ BeginRead( 
   System.array<byte>^ buffer,
   System.int offset,
   System.int count,
   System.AsyncCallback^ callback,
   System.Object^ state
) 

Parameters

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

BZip2OutputStream Class
BZip2OutputStream Members

Send Feedback