This appends the given data in the byte array to the log stream on the virtual cluster whose "key" and "value" match the key and value. hmKeyValue contains key-value pairs and the append operation will be performed for each key-value pair.

Namespace: Microsoft.Cosmos.Management
Assembly: VcClient (in VcClient.dll) Version: 1.0.0.0 (1.8.400.4142)

Syntax

C#
public void LogAppend(
	CosmosUri stream,
	byte[] data,
	int offset,
	int length,
	CompressionLevel compression,
	IDictionary<string, string> hmKeyValue
)
Visual Basic
Public Sub LogAppend ( _
	stream As CosmosUri, _
	data As Byte(), _
	offset As Integer, _
	length As Integer, _
	compression As CompressionLevel, _
	hmKeyValue As IDictionary(Of String, String) _
)
Visual C++
public:
void LogAppend(
	CosmosUri^ stream, 
	array<unsigned char>^ data, 
	int offset, 
	int length, 
	CompressionLevel compression, 
	IDictionary<String^, String^>^ hmKeyValue
)

Parameters

stream
Type: CosmosUri
The base url of the log stream to which the data needs to be appended.
data
Type: array<Byte>[]()[][]
Byte array containing the data.
offset
Type: Int32
The starting position in the data array from which should be appended.
length
Type: Int32
The number of bytes to append
compression
Type: VcClient..::..CompressionLevel
Compression level to use for sending the data to Cosmos.
hmKeyValue
Type: IDictionary<(Of <(<'String, String>)>)>
A dictionary containing key value pairs.

See Also