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.164 -- Release Build+f554b386a688855f785e1932fbd3cd9a2fa13472
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