Click or drag to resize
S101LoggerLogData Method
Logs data.

Namespace: Lawo.EmberPlusSharp.S101
Assembly: Lawo.EmberPlusSharp (in Lawo.EmberPlusSharp.dll) Version: 1.4.1707.27006
Syntax
C#
public EventInfo LogData(
	string type,
	string direction,
	byte[] buffer,
	int index,
	int count
)

Parameters

type
Type: SystemString
The type of the data to log.
direction
Type: SystemString
The direction of the data, usually either "Send" or "Receive".
buffer
Type: SystemByte
The buffer containing the data to log.
index
Type: SystemInt32
The position in the buffer indicating the start of the data to log.
count
Type: SystemInt32
The number of bytes to log.

Return Value

Type: EventInfo

Implements

IS101LoggerLogData(String, String, Byte, Int32, Int32)
Exceptions
ExceptionCondition
ArgumentNullExceptionbuffer equals null.
ArgumentOutOfRangeException
  • index or count is less than zero, or
  • buffer.Length minus index is less than count.
ObjectDisposedExceptionDispose has been called.
See Also