Gemstone Communication Library
Show/Hide TOC

# FileClientSendDataAsync Method

Sends (writes) data to the file asynchronously.

## Definition

Namespace: Gemstone.Communication
Assembly: Gemstone.Communication (in Gemstone.Communication.dll) Version: 1.0.158 -- Release Build+da7bd631cc12b0fea731daab2fc989c84193b7fc
C#
View Source Request Example

    protected override WaitHandle SendDataAsync(
    	byte[] data,
    	int offset,
    	int length
    )

VB
View Source Request Example

    Protected Overrides Function SendDataAsync (
    	data As Byte(),
    	offset As Integer,
    	length As Integer
    ) As WaitHandle

C++
View Source Request Example

    protected:
    virtual WaitHandle^ SendDataAsync(
    	array<unsigned char>^ data,
    	int offset,
    	int length
    ) override

JavaScript
View Source Request Example

    function SendDataAsync(data, offset, length);

#### Parameters

data Byte
  The buffer that contains the binary data to be sent (written).
offset Int32
  The zero-based position in the data at which to begin sending (writing) data.
length Int32
  The number of bytes to be sent (written) from data starting at the offset.

#### Return Value

WaitHandle
WaitHandle for the asynchronous operation.

## See Also

#### Reference

FileClient Class
Gemstone.Communication Namespace