DOFExceptionmarshal Method OpenDOF Object Access Library
Write an object to a serialized form to the specified buffer, according to the context specified and with the given state.

Namespace: org.opendof.core.oal
Assembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
Syntax

C#
public virtual void marshal(
	DOFMarshalContext context,
	Object state,
	DOFPacket packet
)

Parameters

context
Type: org.opendof.core.oalDOFMarshalContext
The context of the marshaling to be performed.
state
Type: SystemObject
The state in which the marshalling is done. This may affect the result. For this class, the state is a providerID (DOFObjectID).
packet
Type: org.opendof.core.oalDOFPacket
The buffer which will receive the marshaled data. Must not be null.
Exceptions

ExceptionCondition
DOFMarshalExceptionIf there are errors in the data or the buffer.
DOFMarshalException
Remarks

Write an object to a serialized form to the specified buffer, according to the context specified and with the given state.
See Also

Reference